CVE-2025-61732Published Feb 5, 2026 · Feb 5Updated Oct 28
Potential code smuggling via doc comments in cmd/cgo
Go toolchain cmd/cgo
High7.4Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| toolchain Go |
|
|
Original description
A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.
From the CVE record · Go