Go toolchain vulnerabilities

37 published CVE records name Go toolchain as the vendor of an affected product, as the CNA wrote it.

Products

CVE records

CVETitleCVSSEPSSPublished
CVE-2026-97033 Unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags in cmd/go 8.8 high 0.69% 11 Nov 2026
CVE-2026-97034 Arbitrary command execution via GCC spec files in cgo linker search directories in cmd/go 8.8 high 0.83% 11 Nov 2026
CVE-2026-97035 Unexpected code execution and arbitrary file write via Clang -gen-* and GCC -gnat* flags in cgo in cmd/go 8.8 high 0.71% 11 Nov 2026
CVE-2026-97036 Arbitrary code execution during build on darwin via "-l to_library" in cgo in cmd/go 8.8 high 0.71% 11 Nov 2026
CVE-2026-97037 Linker script injection via split -Wl, flags and Darwin or symbol linker flags in cgo in cmd/go 8.8 high 0.69% 11 Nov 2026
CVE-2026-97038 Arbitrary code execution via crafted .syso files and cgo linker input files in cmd/go 8.8 high 0.69% 11 Nov 2026
CVE-2026-97039 Flag sanitization bypass via "#cgo pkg-config:" directives in cmd/go 8.3 high 0.49% 11 Nov 2026
CVE-2026-97040 Cgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/link 9.8 critical 0.80% 11 Nov 2026
CVE-2026-97041 Host linker flag injection via //go:cgo_* directives in cmd/compile and cmd/link 8.8 high 0.58% 11 Nov 2026
CVE-2026-97042 Linker flag injection via cgo_import_dynamic and PE DLL names in cmd/cgo, cmd/compile, and cmd/link 8.8 high 0.58% 11 Nov 2026
CVE-2026-97043 Unexpected code execution via escaped quotes in //go:cgo_ldflag in cmd/go and cmd/compile 8.8 high 0.72% 11 Nov 2026
CVE-2026-94447 Checksum database bypass for golang.org/toolchain in cmd/go 7.8 high 0.13% 8 Oct 2026
CVE-2026-94444 Checksum bypass for golang.org/fips140 in cmd/go 7.8 high 0.13% 8 Oct 2026
CVE-2026-56864 Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdb 7.5 high 0.32% 13 Aug 2026
CVE-2026-56865 Fix transparency log tile verification bypass in golang.org/x/mod/sumdb/tlog 8.4 high 0.14% 13 Aug 2026
CVE-2026-42501 Malicious module proxy can bypass checksum database in cmd/go 7.5 high 0.29% 7 May 2026
CVE-2026-39817 Invoking "go tool pack" does not sanitize output paths in cmd/go 5.9 medium 0.16% 7 May 2026
CVE-2026-39819 Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go 5.3 medium 0.15% 7 May 2026
CVE-2026-27140 Code execution vulnerability in SWIG code generation in cmd/go 8.8 high 0.86% 8 Apr 2026
CVE-2026-27143 Missing bound checks can lead to memory corruption in safe Go in cmd/compile 9.8 critical 0.70% 8 Apr 2026
CVE-2026-27144 Miscompilation allows memory corruption via CONVNOP-wrapped array copy in cmd/compile 7.1 high 0.19% 8 Apr 2026
CVE-2025-61732 Potential code smuggling via doc comments in cmd/cgo 8.6 high 0.67% 5 Feb 2026
CVE-2025-61731 Arbitrary file write using cgo pkg-config directive in cmd/go 7.8 high 0.49% 28 Jan 2026
CVE-2025-68119 Unexpected code execution when invoking toolchain in cmd/go 7.0 high 0.29% 28 Jan 2026
CVE-2025-4674 Unexpected command execution in untrusted VCS repositories in cmd/go 8.6 high 0.32% 29 Jul 2025
CVE-2025-22867 Arbitrary code execution during build on darwin in cmd/go 7.5 high 1.08% 6 Feb 2025
CVE-2024-45340 GOAUTH credential leak in cmd/go 8.8 high 1.12% 28 Jan 2025
CVE-2023-24531 Output of "go env" does not sanitize values in cmd/go 9.8 critical 1.58% 2 Jul 2024
CVE-2024-24787 Arbitrary code execution during build on Darwin in cmd/go 6.4 medium 0.51% 8 May 2024
CVE-2023-45285 Command 'go get' may unexpectedly fallback to insecure git in cmd/go – 1.03% 6 Dec 2023
CVE-2023-39323 Arbitrary code execution during build via line directives in cmd/go 8.1 high 1.87% 5 Oct 2023
CVE-2023-39320 Arbitrary code execution via go.mod toolchain directive in cmd/go – 1.81% 8 Sep 2023
CVE-2023-29405 Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go 9.8 critical 2.11% 8 Jun 2023
CVE-2023-29404 Improper handling of non-optional LDFLAGS in go command with cgo in cmd/go 9.8 critical 2.08% 8 Jun 2023
CVE-2023-29402 Code injection via go command with cgo in cmd/go 9.8 critical 1.77% 8 Jun 2023
CVE-2020-28367 Arbitrary code execution via the go command with cgo in cmd/go – 2.40% 18 Nov 2020
CVE-2020-28366 Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo – 2.34% 18 Nov 2020