GO-2026-4433
Potential code smuggling via doc comments in cmd/cgo
At a glance
- Published
- Updated
- CVE
- CVE-2025-61732
- Aliases
- BIT-golang-2025-61732
Description
A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.
Affected packages
| Package | Versions |
|---|---|
| Go · toolchain | introduced 0, fixed 1.24.13, introduced 1.25.0-0, fixed 1.25.7 |
References
- https://go.dev/cl/734220 FIX
- https://go.dev/issue/76697 REPORT
- https://groups.google.com/g/golang-announce/c/K09ubi9FQFk WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |