CVE-2026-27140

NameCVE-2026-27140
DescriptionSWIG file names containing 'cgo' and well-crafted payloads could lead to code smuggling and arbitrary code execution at build time due to trust layer bypass.
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
forky, sid1.24.13-2vulnerable
golang-1.25 (PTS)forky1.25.8-1vulnerable
sid1.25.9-1fixed
golang-1.26 (PTS)forky1.26.1-1vulnerable
sid1.26.2-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.9-1
golang-1.26source(unstable)1.26.2-1

Notes

https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU
https://github.com/golang/go/issues/78335
Fixed by: https://github.com/golang/go/commit/096f21b1c50fe62bc54c1fb1ede60fca63239123 (go1.26.2)
Fixed by: https://github.com/golang/go/commit/abaa0cbb259e059ee60c33a7507eddc1fe7d20fa (go1.25.9)

Search for package or bug name: Reporting problems