CVE-2025-61732: Go toolchain cmd/cgo · Code Injection
Affects Go toolchain cmd/cgoSource CVE Database V5
Not known to be exploited · CVSS 8.6 High : upgrade to 1.25.7 or 1.24.13 soon.
Data as of 26 Oct 2026, 15:59 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.25.7, 1.24.13, 1.25.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade cmd/cgo to 1.25.7 or 1.24.13; github.com/golang/go/cmd/cgo to 1.25.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Go toolchaincmd/cgo | Affected
| Fixed in
|
| Go toolchaincmd/cgo | Affected
| Fixed in
|
Gocmd/cgopkg:golang/cmd/cgoOther threats | Affected
| Fixed in
|
Gogithub.com/golang/go/cmd/cgopkg:golang/github.com/golang/go/cmd/cgoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A security update fixing this vulnerability is available in golang version 1.25.7 and later. Users of affected Red Hat Enterprise Linux and OpenShift Container Platform versions should apply the provided patches promptly. Refer to the Red Hat advisory RHSA-2026:3192 for detailed update instructions. No alternative mitigations are specified by the vendor; applying the official fix is the recommended action.
Description
A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.
References
- go.dev/cl/734220 (opens in a new tab)
- go.dev/issue/76697 (opens in a new tab)
- groups.google.com/g/golang-announce/c/K09ubi9FQFk (opens in a new tab)
- pkg.go.dev/vuln/GO-2026-4433 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-61732 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2437016 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61732.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3192 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:2706 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:2708 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3468 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3470 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3489 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3471 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3473 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3472 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3469 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3193 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:2709 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7385 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7291 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:12282 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:14100 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:21691 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:15091 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:14774 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:10104 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:17598 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:8448 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4434 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:5878 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3855 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:2844 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3559 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3556 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:5948 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:5950 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:5952 (opens in a new tab)