cmd/cgo vulnerabilities

4 published CVE records list this product as affected. Other products of Go toolchain.

CVETitleCVSSEPSSPublished
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-2025-61732 Potential code smuggling via doc comments in cmd/cgo 8.6 high 0.53% 5 Feb 2026
CVE-2023-29405 Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go 9.8 critical 1.71% 8 Jun 2023
CVE-2020-28366 Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo – 2.34% 18 Nov 2020