Go package
toolchain vulnerabilities.Is your version affected?
Every reviewed advisory for the Go package toolchain, with the versions that fix it. Type your version to see what applies.
Check your version
Checked in your browser against 45 advisories with confirmed versions. Nothing is sent.
Fixes everything
1.27.4
Or any later release
Worst severity
Critical 9.8
CVE-2026-97040, code injection
Exploited
Not on CISA's list
No confirmed attacks
Fix first
Recent ones with public exploit evidence: exploited in the wild first, then weaponized, then proof of concept.
All vulnerabilities
Every known toolchain vulnerability
CVE
What
Severity
Status
Showing 45 of 45
Advisories
Reviewed advisories
CVE-2026-97039Flag sanitization bypass via "#cgo pkg-config:" directives in cmd/goCVE-2026-97040Cgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/linkCVE-2026-97034Arbitrary command execution via GCC spec files in cgo linker search directories in cmd/goCVE-2026-97043Unexpected code execution via escaped quotes in //go:cgo_ldflag in cmd/go and cmd/compileCVE-2026-97037Linker script injection via split -Wl, flags and Darwin or symbol linker flags in cgo in cmd/goCVE-2026-97033Unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags in cmd/goCVE-2026-97038Arbitrary code execution via crafted .syso files and cgo linker input files in cmd/goCVE-2026-97042Linker flag injection via cgo_import_dynamic and PE DLL names in cmd/cgo, cmd/compile, and cmd/linkCVE-2026-97036Arbitrary code execution during build on darwin via "-l to_library" in cgo in cmd/goCVE-2026-97041Host linker flag injection via //go:cgo_* directives in cmd/compile and cmd/linkCVE-2026-97035Unexpected code execution and arbitrary file write via Clang -gen-* and GCC -gnat* flags in cgo in cmd/goCVE-2026-94447Checksum database bypass for golang.org/toolchain in cmd/goCVE-2026-94444Checksum bypass for golang.org/fips140 in cmd/goCVE-2026-56864Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdbCVE-2026-56865Fix transparency log tile verification bypass in golang.org/x/mod/sumdb/tlogCVE-2026-42501Malicious module proxy can bypass checksum database in cmd/goCVE-2026-39819Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/goCVE-2026-39817Invoking "go tool pack" does not sanitize output paths in cmd/goCVE-2026-27140Code execution vulnerability in SWIG code generation in cmd/goCVE-2026-27144Miscompilation allows memory corruption via CONVNOP-wrapped array copy in cmd/compileCVE-2026-27143Missing bound checks can lead to memory corruption in safe Go in cmd/compileCVE-2025-61732Potential code smuggling via doc comments in cmd/cgoCVE-2025-61731Arbitrary file write using cgo pkg-config directive in cmd/goCVE-2025-68119Unexpected code execution when invoking toolchain in cmd/goCVE-2025-4674Unexpected command execution in untrusted VCS repositories in cmd/goCVE-2025-22867Arbitrary code execution during build on darwin in cmd/goCVE-2024-45340GOAUTH credential leak in cmd/goCVE-2023-24531Output of "go env" does not sanitize values in cmd/goCVE-2024-24787Arbitrary code execution during build on Darwin in cmd/goCVE-2023-45285Command 'go get' may unexpectedly fallback to insecure git in cmd/goCVE-2023-39323Arbitrary code execution during build via line directives in cmd/goCVE-2023-39320Arbitrary code execution via go.mod toolchain directive in cmd/goCVE-2023-29402Code injection via go command with cgo in cmd/goCVE-2023-29405Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/goCVE-2023-29404Improper handling of non-optional LDFLAGS in go command with cgo in cmd/goCVE-2018-7187Remote command execution via "go get" command with "-insecure" option in cmd/goCVE-2018-6574Remote command execution via "go get" command with cgo in cmd/goCVE-2017-15041Remote command execution via "go get" in cmd/goCVE-2018-16873Remote command execution via "go get" with "-u" flag in cmd/goCVE-2018-16874Directory traversal via "go get" command in cmd/goCVE-2022-23773Incorrect access control in the go command in cmd/go/internal/modfetchCVE-2020-28367Arbitrary code execution via the go command with cgo in cmd/goCVE-2020-28366Arbitrary code execution in go command with cgo in cmd/go and cmd/cgoCVE-2021-38297Buffer overflow in WASM modules in misc/wasm and cmd/linkCVE-2021-3115Arbitrary code injection via the go command with cgo on Windows in cmd/go