cmd/go vulnerabilities and CVEs
Known vulnerabilities affecting cmd/go, with exploit availability attached to each one, so you can tell a flaw someone has written code for from one nobody has.
9 vulnerabilities tracked.
- — Building a malicious package that uses cgo could cause arbitrary code execution at build time through several compiler and linker flags…
- — When using GCC, building a malicious package that uses cgo could cause arbitrary command execution at link time via untrusted GCC spec…
- — When using Clang or GCC, building a malicious package that uses cgo could cause unexpected code execution at build time or write files to…
- — On Darwin, building a malicious package that uses cgo could cause arbitrary code execution when using the Apple linker due to passing "-l…
- — Building a malicious package that uses cgo could cause arbitrary code execution at link time by passing linker script files to the host…
- — Building a malicious package containing ".syso" files or cgo linker inputs could inject arbitrary linker flags or execute arbitrary code at…
- — Building a malicious package that uses "#cgo pkg-config:" directives could load untrusted pkg-config ".pc" files or inject unvalidated…
- — Building a package containing a crafted ".syso" file could bypass cgo flag validation and inject arbitrary linker flags when linking.
- — Building a malicious package that uses cgo could bypass "#cgo LDFLAGS" validation and cause unexpected code execution at build time, or…
What this covers
This feed accumulates forward from the day it started storing records, and a name search that finds nothing here is also looked up against the registers directly — so an older advisory resolves even when it predates the corpus. It is still a reading view, not a substitute for the vendor's own advisory, and absence from this page is not a statement that cmd/go is free of vulnerabilities.
Query this from an agent over MCP · Check a lockfile by version
Other products tracked here
Linux Windows Server 2025 (Server Core installation) Windows Server 2025 Windows 11 version 26H1 Windows 11 Version 24H2 Windows 11 Version 25H2 Windows Server 2022 Windows Server 2019 (Server Core installation) Windows Server 2019 Windows 10 Version 21H2 Windows 10 Version 22H2 Windows 10 Version 1809 Windows 11 Version 23H2 Windows Server 2016 Windows Server 2016 (Server Core installation) Windows 10 Version 1607 Red Hat Enterprise Linux 9 Windows 11 Version 26H2 Red Hat Enterprise Linux 8 Windows Server 2012 R2 Windows Server 2012 R2 (Server Core installation) Windows Server 2012 Windows Server 2012 (Server Core installation) Red Hat Enterprise Linux 10