MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-97037GO-2026-6854WID-SEC-W-2026-4370:CVE-2026-97037

Linker script injection via split -Wl, flags and Darwin or symbol linker flags in cgo in cmd/go

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)