UNKNOWNCVSS not yet scoredVulnerability

CVE-2026-97042

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 "@".

Properties

Last source
FIRST EPSS
Nvd fetched at
2026-11-11T23:49:45.533241+00:00
Epss score
0.00234
Cve id
CVE-2026-97042
First seen by Signal
2026-11-11T07:36:44+00:00
Name
CVE-2026-97042
Retrieved at
2026-11-11T23:51:16+00:00
Published at
2026-11-11T05:19:58.563
Last modified
2026-11-11T05:19:58.563
Epss percentile
0.1445

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-97042 — Ninja Signal Threat Intelligence | Ninja Signal