GHSA-26gx-chjm-8pq7Published
Unexpected code execution via escaped quotes in //go:cgo_ldflag in cmd/go and cmd/compile
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-97043 · CVE overview and exploitation status
cve-program · CVE-2026-97043
- https://go.dev/cl/862156
- https://go.dev/issue/82567
- https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM
- https://pkg.go.dev/vuln/GO-2026-6848
euvd · EUVD-2026-123102
- https://go.dev/cl/862156
- https://go.dev/issue/82567
- https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM
- https://pkg.go.dev/vuln/GO-2026-6848
nvd · CVE-2026-97043
- https://go.dev/cl/862156
- https://go.dev/issue/82567
- https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM
- https://pkg.go.dev/vuln/GO-2026-6848
osv · GO-2026-6848
Related changes
Linked by CVE identifier- Building a malicious package that uses cgo could bypass "#cgo LDFLAGS" validation and cause unexpected code execution at build time, or cause the go command to panic, via crafted quoting in "//go:cgo_ldflag" directives. When "cmd/cgo" gener… · Advisory content revised · 17 Nov 2026
- Building a malicious package that uses cgo could bypass "#cgo LDFLAGS" validation and cause unexpected code execution at build time, or cause the go command to panic, via crafted quoting in "//go:cgo_ldflag" directives. When "cmd/cgo" gener… · Advisory content revised · 17 Nov 2026
- Building a malicious package that uses cgo could bypass "#cgo LDFLAGS" validation and cause unexpected code execution at build time, or cause the go command to panic, via crafted quoting in "//go:cgo_ldflag" directives. When "cmd/cgo" gener… · Advisory content revised · 15 Nov 2026
- Building a malicious package that uses cgo could bypass "#cgo LDFLAGS" validation and cause unexpected code execution at build time, or cause the go command to panic, via crafted quoting in "//go:cgo_ldflag" directives. When "cmd/cgo" gener… · Advisory content revised · 13 Nov 2026
- Unexpected code execution via escaped quotes in //go:cgo_ldflag in cmd/go and cmd/compile · Newly collected advisory · 11 Nov 2026
- Unexpected code execution via escaped quotes in //go:cgo_ldflag in cmd/go and cmd/compile · Newly collected advisory · 11 Nov 2026