8.8

CVE-2026-97038: Arbitrary code execution via crafted .syso files and cgo linker input files in cmd/go

Awaiting analysis
AliasesDEBIAN-CVE-2026-97038GO-2026-6853UBUNTU-CVE-2026-97038
Published 11-11-2026Last modified 17-11-2026

Vulnerability summary

CVE-2026-97038 is a high (CVSS 8.8) Improper Control of Generation of Code vulnerability in go toolchain cmd/go. EPSS estimates a 0.69% chance of exploitation in the next 30 days, higher than 54% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.69%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 20 · Related 20

Timeline

  1. 11-11-2026
    PublishedVulnerability first disclosed.
  2. 17-11-2026
    Last modifiedVulnerability information updated.

Description

Building a malicious package containing ".syso" files or cgo linker inputs could inject arbitrary linker flags or execute arbitrary code at link time. Linker input files—including ".syso" files, direct object or library inputs in "#cgo LDFLAGS", and libraries in "-L" directories—were passed to the external linker without validating their format or checking for embedded linker options. Across platforms, this allowed executing GNU ld implicit linker scripts disguised as libraries or ".syso" files (or loaded via "-l:<filename>" or "-l" containing path separators), injecting unallowlisted linker flags via PE/COFF ".drectve" sections on Windows or Mach-O "LC_LINKER_OPTION" load commands on Darwin, or invoking LTO plugins via GCC or LLVM LTO intermediate representation sections in ELF, PE/COFF, or Mach-O objects. The go command now verifies that ".syso" files, direct linker inputs, and libraries in "-L" directories are valid binary objects or archives that do not contain unallowlisted ".drectve" directives, "LC_LINKER_OPTION" load commands, or LTO IR sections, and disallows "-l:<filename>" and ":", "=", or path separators in "-l" flags.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.69%

Chance of exploitation in the next 30 days

Percentile

54%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

11-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard74 products
  • azure-service-operatorAll versions (No fix recorded)
  • commercial-chainloop-backendAll versions (No fix recorded)
  • commercial-chainloop-cliAll versions (No fix recorded)
  • commercial-expanso-edgeAll versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.1All versions (No fix recorded) | < 19.1.11-r0
Ubuntu17 products
  • golang-1.10All versions (No fix recorded)
  • golang-1.13All versions (No fix recorded)
  • golang-1.14All versions (No fix recorded)
  • golang-1.16All versions (No fix recorded)
  • golang-1.17All versions (No fix recorded)
Wolfi7 products
  • azure-service-operatorAll versions (No fix recorded)
  • go-1.25All versions (No fix recorded)
  • go-1.25-asmAll versions (No fix recorded)
  • go-1.25-coverAll versions (No fix recorded)
  • go-1.25-docAll versions (No fix recorded)
Debian4 products
  • golang-1.19All versions (No fix recorded)
  • golang-1.24All versions (No fix recorded)
  • golang-1.26All versions (No fix recorded) | < 1.26.11-1
  • golang-1.27All versions (No fix recorded) | < 1.27.4-1
Alpine1 product
  • go< 1.26.11-r0 | < 1.27.4-r0
Go1 product
  • toolchain≥ 1.27.0-0, < 1.27.4
Go toolchain1 product
  • cmd/go< 1.26.11 | ≥ 1.27.0-0, < 1.27.4

7 vendors · 105 products

References

12 links
Show all 12 references