CVE-2025-61732

NameCVE-2025-61732
DescriptionA discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-1.15 (PTS)bullseye1.15.15-1~deb11u4vulnerable
golang-1.19 (PTS)bookworm1.19.8-2vulnerable
golang-1.24 (PTS)trixie1.24.4-1vulnerable
forky1.24.9-1vulnerable
sid1.24.12-1vulnerable
golang-1.25 (PTS)forky1.25.3-1vulnerable
sid1.25.7-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-1.15source(unstable)(unfixed)
golang-1.19source(unstable)(unfixed)
golang-1.24source(unstable)(unfixed)
golang-1.25source(unstable)1.25.7-1

Notes

https://groups.google.com/g/golang-announce/c/K09ubi9FQFk
https://github.com/golang/go/issues/76697
Fixed by: https://github.com/golang/go/commit/b19100991ac6d096e67cead47392049c178fd5ab (go1.25.7)
Fixed by: https://github.com/golang/go/commit/14d0bb39c1c4093bd02740d14b1a2ca720ced97c (go1.24.13)

Search for package or bug name: Reporting problems