Breaking: Ruby2Shell - Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-97037

Building a malicious package that uses cgo could cause arbitrary code ...

Overview

Published
11 Nov 2026
Modified
17 Nov 2026
High CVE
0 Registry packages
18 OS packages
8 Linux distributions
Yes Fix available

Description

Building a malicious package that uses cgo could cause arbitrary code execution at link time by passing linker script files to the host linker via "#cgo LDFLAGS". Split "-Wl," flags that consume a following argument (such as "-Wl,-rpath", "-Wl,--just-symbols", and "-Wl,-undefined") previously accepted a bare second argument without a "-Wl," prefix, which the compiler driver passes directly to the linker as a positional input file. Additionally, when using GNU ld.bfd, flags such as "-framework", "-Wl,-framework", "-Wl,-undefined", "-Wl,--just-symbols", "-Wl,-R", "-Wl,-subsystem", and (on non-Darwin platforms) "-Wl,-sectcreate" could cause ld.bfd to interpret their arguments as linker scripts if they named a regular file on disk. The go command now requires a "-Wl," prefix on the second token of split "-Wl," flags (except "-Wl,-R"), verifies that these flags do not reference linker script files, and disallows bare "-Wl,--warn-backrefs-exclude".

Source: OX vulnerability database

Severity

8.8 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-94

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 21 fixes

SUSE Linux Enterprise 4 releases · 2 packages

fixed 8
go1-26 go1-27
SUSE Linux Enterprise fixes for CVE-2026-97037
ReleasePackageFixed inAdvisory
15.4 go1-26 +2 1.26.11-150000.1.39.1 SUSE-SU-2026:5227-1
15.4 go1-27 +2 1.27.4-150000.1.18.1 SUSE-SU-2026:5226-1
15.5 go1-26 +2 1.26.11-150000.1.39.1 SUSE-SU-2026:5227-1
15.5 go1-27 +2 1.27.4-150000.1.18.1 SUSE-SU-2026:5226-1
15.6 go1-26 +2 1.26.11-150000.1.39.1 SUSE-SU-2026:5227-1
15.6 go1-27 +2 1.27.4-150000.1.18.1 SUSE-SU-2026:5226-1

2 more rows

alpine 2 releases · 1 package

fixed 2
go
alpine fixes for CVE-2026-97037
ReleasePackageFixed in
3.24 go 1.26.11-r0
edge go 1.27.4-r0

amazon linux 1 release · 1 package

fixed 1
golang
amazon linux fixes for CVE-2026-97037
ReleasePackageFixed in
2023 golang +6 1.26.11-1.amzn2023.0.1

debian 3 releases · 4 packages

affected 3 fixed 2
golang-1-19 golang-1-24 golang-1-26 golang-1-27
debian fixes for CVE-2026-97037
ReleasePackageFixed in
12 golang-1-19 affected
13 golang-1-24 affected
14 golang-1-24 affected
14 golang-1-26 1.26.11-1
14 golang-1-27 1.27.4-1

echo 1 release · 1 package

affected 1
golang-1-24
echo fixes for CVE-2026-97037
ReleasePackageFixed in
golang-1-24 affected

openSUSE 1 release · 2 packages

fixed 2
go1-26 go1-27
openSUSE fixes for CVE-2026-97037
ReleasePackageFixed inAdvisory
Tumbleweed go1-26 +2 1.26.11-1.1 openSUSE-SU-2026:12529-1
Tumbleweed go1-27 +2 1.27.4-1.1 openSUSE-SU-2026:12540-1

chainguard 1 release · 1 package

not affected 1
azure-service-operator
chainguard fixes for CVE-2026-97037
ReleasePackageFixed in
azure-service-operator +15 not affected

wolfi 1 release · 1 package

not affected 1
azure-service-operator
wolfi fixes for CVE-2026-97037
ReleasePackageFixed in
azure-service-operator +3 not affected

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.