{"id":"EUVD-2026-123109","revision":"cf19f1d3e9e14c0f87442883af7db3c6","records":[{"revision":"cf19f1d3e9e14c0f87442883af7db3c6","observedAt":"2026-11-11T04:27:51.663+00:00","statement":{"source":"euvd","id":"EUVD-2026-123109","aliases":["CVE-2026-97036"],"title":"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 …","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[],"references":["https://go.dev/cl/862149","https://go.dev/issue/82574","https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM","https://pkg.go.dev/vuln/GO-2026-6855"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-123109","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 11, 2026, 3:13:16 AM","dateUpdated":"Nov 11, 2026, 3:13:16 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-123109","identifiers":["EUVD-2026-123109","CVE-2026-97036"]},"retained":false,"historicalAffected":[]}],"coverage":[]}