{"identifier":"CVE-2026-97042","cve":{"id":"CVE-2026-97042","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 \"@\".","published":"2026-11-11T05:19:58.563000+00:00","modified":"2026-11-16T18:17:34.507000+00:00","status":"Awaiting Analysis","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvss_version":"3.1","affected":[],"weaknesses":["CWE-88"],"references":[{"url":"https://go.dev/cl/862155","source":"security@golang.org"},{"url":"https://go.dev/issue/82568","source":"security@golang.org"},{"url":"https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM","source":"security@golang.org"},{"url":"https://pkg.go.dev/vuln/GO-2026-6849","source":"security@golang.org"}],"kev":null,"kev_checked":true,"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-16T17:24:31.363102Z","id":"CVE-2026-97042","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[],"source":"nvd","retrieved_at":"2026-11-16T21:32:54.867816+00:00","exploited":false,"kev_stale":false,"products":[],"priority":{"label":"Assess exposure and vendor guidance","reasons":["No higher-priority signal is available in the current stored evidence."]},"epss":{"probability":0.00453,"percentile":0.4,"date":"2026-11-18","stale":false},"version_assessment":null},"news":[],"campaigns":[],"domains":[{"domain":"go.dev","source_url":"https://go.dev/cl/862155","investigate_url":"https://investigate.aeglixmind.com/#go.dev"},{"domain":"groups.google.com","source_url":"https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM","investigate_url":"https://investigate.aeglixmind.com/#groups.google.com"},{"domain":"pkg.go.dev","source_url":"https://pkg.go.dev/vuln/GO-2026-6849","investigate_url":"https://investigate.aeglixmind.com/#pkg.go.dev"}],"arsenal_url":"https://arsenal.aeglixmind.com/?cve=CVE-2026-97042","catalog_url":"https://cves.aeglixmind.com/cve/CVE-2026-97042","research_url":"https://investigate.aeglixmind.com/research/cve/CVE-2026-97042","coverage":{"news_candidates_checked":0,"campaign_candidates_checked":0,"bounded":false,"notice":"Exact CVE mentions in stored public excerpts and reviewed campaign content only. A mention is not proof of exploitation, attribution or tool suitability. Missing matches do not establish absence."}}