{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-97042","published":"2026-11-11T05:19:58.563000Z","last_modified":"2026-11-16T18:17:34.507000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","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","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-88"],"cpes":[],"cpes_truncated":false,"vendors":["go-toolchain"],"products":["go-toolchain/cmd-cgo"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2026-6849","ecosystem":"Go","name":"toolchain","purl":"pkg:golang/toolchain","ranges":[{"introduced":"0","fixed":"1.26.11"},{"introduced":"1.27.0-0","fixed":"1.27.4"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2026-97042/","html_en":"/en/cve/CVE-2026-97042/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-97042","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-97042"},"untrusted":{"vendor_name":"Go toolchain","product_name":"cmd/cgo","desc_en":"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 \"@\".","affected":[{"untrusted_vendor":"Go toolchain","untrusted_product":"cmd/cgo","versions":[]},{"untrusted_vendor":"Go toolchain","untrusted_product":"cmd/compile","versions":[]},{"untrusted_vendor":"Go toolchain","untrusted_product":"cmd/link","versions":[]}],"references":[{"url":"https://go.dev/cl/862155","tags":[]},{"url":"https://go.dev/issue/82568","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-6849","tags":[]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:102592","url":"https://access.redhat.com/errata/RHSA-2026:102592","published":"2026-11-25T10:07:18+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: go-toolset:rhel8 security, bug fix, and enhancement update"}},{"source":"redhat","id":"RHSA-2026:102586","url":"https://access.redhat.com/errata/RHSA-2026:102586","published":"2026-11-25T10:07:17+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: golang security, bug fix, and enhancement update"}},{"source":"redhat","id":"RHSA-2026:102587","url":"https://access.redhat.com/errata/RHSA-2026:102587","published":"2026-11-25T10:07:17+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: golang security, bug fix, and enhancement update"}},{"source":"suse","id":"SUSE-SU-2026:24892-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202624892-1/","published":"2026-11-19T11:59:56+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for go1.26"}},{"source":"suse","id":"openSUSE-SU-2026:22386-1","url":"https://www.suse.com/support/update/","published":"2026-11-19T11:59:56+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for go1.26"}},{"source":"suse","id":"SUSE-SU-2026:24920-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202624920-1/","published":"2026-11-19T11:59:07+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for go1.26"}}]}