PT-2026-144965
CVE-2026-97042
·
Published
2026-11-11
·
Updated
2026-11-11
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions
Go (affected versions not specified)
Description
Building a malicious package using
//go:cgo import dynamic or linking against a crafted PE object on Windows can pass unsafe library arguments to the external linker. The compiler previously only validated the first character of the library name in //go:cgo import dynamic directives and skipped validation in cgo-generated files. Furthermore, on Windows, cmd/cgo and cmd/link failed to validate imported DLL names from PE object files before emitting -l<name> flags, enabling a crafted DLL name with .. path traversal or special characters to reference arbitrary files on disk.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾