CVE-2026-97042 Affecting go-toolset:rhel8/delve package, versions <0:1.26.1-2.module_el8.10.0+4353+8cb525cc


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.58% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-GOTOOLSET-22957402
  • published25 Nov 2026
  • disclosed23 Nov 2026

Introduced: 23 Nov 2026

NewCVE-2026-97042  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 go-toolset:rhel8/delve to version 0:1.26.1-2.module_el8.10.0+4353+8cb525cc or higher.
This issue was patched in ALSA-2026:102592.

NVD Description

Note: Versions mentioned in the description apply only to the upstream go-toolset:rhel8/delve package and not the go-toolset:rhel8/delve package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1