{"id":"EUVD-2026-123103","revision":"51345260a31043edaeb4cf41d73b8f3b","records":[{"revision":"51345260a31043edaeb4cf41d73b8f3b","observedAt":"2026-11-13T05:19:06.337+00:00","statement":{"source":"euvd","id":"EUVD-2026-123103","aliases":["CVE-2026-97042","GHSA-jgj7-3254-vwmv"],"title":"Building a malicious package that uses \"//go:cgo_import_dynamic\" or links against a crafted PE object on Windows could pass unsafe library arguments to the external linker. The compiler only checked the first character of the library name i…","description":"Building a malicious package that uses \"//go:cgo_import_dynamic\" or links against a crafted PE object on Windows could pass unsafe library arguments to the external linker. The compiler only checked the first character of the library name in \"//go:cgo_import_dynamic\" directives and skipped validation in cgo-generated files. In addition, on Windows, \"cmd/cgo\" and \"cmd/link\" did not validate imported DLL names extracted from PE object files before emitting \"-l<name>\" flags for the external linker, allowing a crafted DLL name containing \"..\" path traversal or special characters to reference arbitrary files on disk. The compiler now validates every character of the library name in \"//go:cgo_import_dynamic\" directives (including in cgo-generated files on Windows) and rejects \"..\" path traversal, and \"cmd/cgo\" and \"cmd/link\" reject PE imported DLL names containing path separators, \"..\", \":\", or leading \"-\" or \"@\".","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[],"references":["https://go.dev/cl/862155","https://go.dev/issue/82568","https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM","https://pkg.go.dev/vuln/GO-2026-6849"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-123103","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 11, 2026, 3:13:15 AM","dateUpdated":"Nov 11, 2026, 3:13:15 AM"},"relatedAdvisories":[{"id":"WID-SEC-W-2026-4370","title":"Golang Go: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff","vulnerabilityIds":["CVE-2026-97033","CVE-2026-97034","CVE-2026-97035","CVE-2026-97036","CVE-2026-97037","CVE-2026-97038","CVE-2026-97039","CVE-2026-97040","CVE-2026-97041","CVE-2026-97042","CVE-2026-97043","CVE-2026-97054"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-123103","identifiers":["EUVD-2026-123103","CVE-2026-97042","GHSA-jgj7-3254-vwmv"]},"retained":false,"historicalAffected":[]}],"coverage":[]}