CVE-2026-97038 explained

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

high 8.8 / 10

Chance of being attacked in the next 30 days: 1%. Published 11 Nov 2026.

In plain English

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.

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 48% 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.

Common questions

Am I affected by CVE-2026-97038?

The sources have not published which products and versions are affected yet. Check back, or read the official record.

Is CVE-2026-97038 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.

Sources

We relay official sources and our own checks. What we can and cannot promise. Spotted a mistake?
.