CVE-2026-97036 explained

On Darwin, building a malicious package that uses cgo could cause arbitrary code execution when using the Apple linker due to passing "-l to_library <path>" in a "#cgo LDFLAGS" directive.

high 8.8 / 10

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

In plain English

On Darwin, building a malicious package that uses cgo could cause arbitrary code execution when using the Apple linker due to passing "-l to_library <path>" in a "#cgo LDFLAGS" directive. The Apple linker recombines the separated arguments "-l" and "to_library" into "-lto_library", which loads an arbitrary LTO plugin dynamic library at link time. The go command now disallows "-l" followed by "to_library" in "#cgo LDFLAGS", rejects "-lazy_library", "-lazy_framework", "-load_hidden", "-library", and "-library-path", and checks recombined "-l" arguments against disallowed linker flags and patterns.

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 49% 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-97036?

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

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