CVE-2026-97034 explained
When using GCC, building a malicious package that uses cgo could cause arbitrary command execution at link time via untrusted GCC spec files ("specs" or "*.spec"). When linking with "-fopenmp", "-fopenacc", or "-fsanitize=" in "#cgo LDFLAGS".
!high 8.8 / 10
Chance of being attacked in the next 30 days: 1%. Published 11 Nov 2026.
In plain English
When using GCC, building a malicious package that uses cgo could cause arbitrary command execution at link time via untrusted GCC spec files ("specs" or "*.spec"). When linking with "-fopenmp", "-fopenacc", or "-fsanitize=" in "#cgo LDFLAGS", GCC's built-in link spec evaluates "%:include(libgomp.spec)" or "%:include(libsanitizer.spec)" and searches for spec files in "-L" and sysroot directories (including subdirectories and multilib sibling directories such as "../lib64"), as well as the working directory when "-fopenmp" or "-fopenacc" is used or when "-fsanitize=" is combined with "-static" or "-static-lib*". The go command now rejects "-L", "-isysroot", and "-Wl,-syslibroot" directories (and the working and package directories when applicable) that contain GCC spec files, and disallows "@" and "-" prefixes in "-fsanitize=" compiler flag values.
The plain-English version is written once the record settles.
The facts
- Severity
- high (CVSS 8.8)
- Exploited
- not in CISA's catalogue
- Chance of attack, 30 days
- 1% (higher than 55% of all records)
- Published
- 11 Nov 2026
- Last changed
- 17 Nov 2026
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Who is affected
The sources have not published affected products and versions yet.
What to do
- Read the official record for the fixed version and update.
- Plan the update within the week; back up first.
- If someone else runs the software for you, send them this page.
Official sources
Common questions
Am I affected by CVE-2026-97034?
The sources have not published which products and versions are affected yet. Check back, or read the official record.
Is CVE-2026-97034 being exploited?
No confirmed exploitation in CISA's catalogue. The chance of exploitation in the next 30 days is 1% (EPSS).
What should I do?
Read the vendor advisory for the fixed version and update. If someone else runs the software for you, send them this page.
Know when a vulnerability applies to your software
Declare what you run, or let the scan find it. We match every new record to your versions and say what to do.