Go toolchain cmd/cgo
Potential code smuggling via doc comments in cmd/cgo
A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.6high · scored by CISA ADP · CWE-94
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Go toolchain cmd/cgo
- < 1.24.13
- >= 1.25.0-0, < 1.25.7
Fixed in 1.24.13, 1.25.7
Mitigation
Upgrade cmd/cgo to 1.24.13 or 1.25.7 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.