DHI-eyaj-ycl6-2xrf-y43p

Source
https://scout.docker.com/v/DHI-eyaj-ycl6-2xrf-y43p
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-eyaj-ycl6-2xrf-y43p.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-eyaj-ycl6-2xrf-y43p
Upstream
  • CVE-2026-97042
Published
2026-11-18T19:52:05Z
Modified
2026-11-18T20:03:16Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Building a malicious package that uses "//go:cgo_import_dynamic" or links against a crafted PE object on Windows could…
Details

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

References

Affected packages

Docker Hardened Images:Alpine:3.24 / go

Package

Name
go
Purl
pkg:apk/dhi/go

Affected ranges

Affected versions

1.*
1.26.4-r0
1.26.5-r0
1.27.0-r0
1.27.1-r0
1.27.2-r0
1.27.3-r0
1.27.4-r0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-eyaj-ycl6-2xrf-y43p.json"