{"description":"Trending threats, MITRE ATT\u0026CK coverage, and detection metadata. Fed continuously.","favicon":"https://feed.craftedsignal.io/favicon-32x32.png","feed_url":"https://feed.craftedsignal.io/tags/linker/feed.json","home_page_url":"https://feed.craftedsignal.io/","icon":"https://feed.craftedsignal.io/apple-touch-icon.png","items":[{"_cs_actors":[],"_cs_cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"],"_cs_cves":[{"cvss":8.8,"id":"CVE-2026-97037"}],"_cs_exploited":false,"_cs_has_poc":false,"_cs_poc_references":[],"_cs_products":["cmd/go"],"_cs_severities":["high"],"_cs_tags":["cgo","compiler","linker"],"_cs_type":"advisory","_cs_vendors":["Go toolchain"],"content_html":"\u003ch2 id=\"overview\"\u003eOverview\u003c/h2\u003e\n\u003cp\u003eCVE-2026-97037 is an arbitrary code execution vulnerability in the Go toolchain (cmd/go) that occurs at link time. Malicious packages utilizing cgo can pass linker script files to the host linker via \u0026quot;#cgo LDFLAGS\u0026quot;.\u003c/p\u003e\n\u003ch2 id=\"attack-chain\"\u003eAttack Chain\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003eDuring the build process, the go command processes \u0026quot;#cgo LDFLAGS\u0026quot;.\u003c/li\u003e\n\u003cli\u003eVulnerable versions of the go command previously accepted bare second arguments for split \u0026quot;-Wl,\u0026quot; flags without a \u0026quot;-Wl,\u0026quot; prefix. This allowed the compiler driver to pass these arguments directly to the linker as positional input files.\u003c/li\u003e\n\u003cli\u003eWhen using GNU ld.bfd, specific flags (such as \u0026quot;-framework\u0026quot;, \u0026quot;-Wl,-framework\u0026quot;, \u0026quot;-Wl,-undefined\u0026quot;, \u0026quot;-Wl,--just-symbols\u0026quot;, \u0026quot;-Wl,-R\u0026quot;, \u0026quot;-Wl,-subsystem\u0026quot;, and on non-Darwin platforms \u0026quot;-Wl,-sectcreate\u0026quot;) could cause the linker to interpret their arguments as linker scripts if the arguments pointed to existing files on disk.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2 id=\"impact\"\u003eImpact\u003c/h2\u003e\n\u003cp\u003eSuccessful exploitation allows for arbitrary code execution during the package build process.\u003c/p\u003e\n\u003ch2 id=\"recommendation\"\u003eRecommendation\u003c/h2\u003e\n\u003cp\u003eThe go command has been updated to mitigate this vulnerability by requiring a \u0026quot;-Wl,\u0026quot; prefix on the second token of split \u0026quot;-Wl,\u0026quot; flags (except \u0026quot;-Wl,-R\u0026quot;), verifying that flags do not reference linker script files, and disallowing bare \u0026quot;-Wl,--warn-backrefs-exclude\u0026quot;. Users should upgrade to version 1.26.11 or 1.27.4 or later to address these issues.\u003c/p\u003e\n","date_modified":"2026-11-16T16:36:52Z","date_published":"2026-11-16T16:36:52Z","id":"https://feed.craftedsignal.io/briefs/2026-11-golang-go-cgo-linker-vulnerability-cve-2026-97037/","summary":"The Go toolchain (cmd/go) is vulnerable to arbitrary code execution during the package build process when processing malicious cgo LDFLAGS, affecting versions prior to 1.26.11 and 1.27.4.","title":"Golang Go: Arbitrary code execution during cgo linking (CVE-2026-97037)","url":"https://feed.craftedsignal.io/briefs/2026-11-golang-go-cgo-linker-vulnerability-cve-2026-97037/"}],"language":"en","title":"CraftedSignal Threat Feed - Linker","version":"https://jsonfeed.org/version/1.1"}