What’s Vulnerable › Vulnerabilities
CVE-2025-61732: Potential code smuggling via doc comments in cmd/cgo
- Severity: high (CVSS 8.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-05 · updated 2026-09-10
- Weakness: CWE-94
Description
A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.
Affected products
- Go: before 1.24.13; from 1.25.0 before 1.25.7 — fixed in 1.24.13, 1.25.7
How to fix
Upgrade to a fixed version: Go 1.24.13, 1.25.7. Check the vendor advisory for mitigations.
References
- https://go.dev/cl/734220
- https://go.dev/issue/76697
- https://groups.google.com/g/golang-announce/c/K09ubi9FQFk
- https://pkg.go.dev/vuln/GO-2026-4433
- https://access.redhat.com/errata/RHSA-2026:10104
- https://access.redhat.com/errata/RHSA-2026:12282
- https://access.redhat.com/errata/RHSA-2026:14100
- https://access.redhat.com/errata/RHSA-2026:14774
- https://access.redhat.com/errata/RHSA-2026:15091
- https://access.redhat.com/errata/RHSA-2026:17598
- https://access.redhat.com/errata/RHSA-2026:21691
- https://access.redhat.com/errata/RHSA-2026:2706
Get alerted when CVE-2025-61732 or the next vulnerability affects your stack