{"id":"EUVD-2026-123105","enisaUuid":"2475d85a-747c-3a8b-bd7c-5941feede5ce","description":"Building a package containing a crafted \".syso\" file could bypass cgo flag validation and inject arbitrary linker flags when linking. When loading \".syso\" entries from a package archive, the linker only checked for recognized host object headers (ELF, Mach-O, PE, and XCOFF) before falling through to Go object parsing. A \".syso\" file beginning with a \"go object\" header was parsed as a Go compiler object, allowing untrusted cgo metadata directives (such as \"cgo_ldflag\" or \"cgo_dynamic_linker\") embedded in the \".syso\" file to be passed to the external linker without validation. Additionally, \".syso\" filenames longer than 16 bytes lost their \".syso\" extension when truncated in archive headers, and unrecognized \".syso\" formats forced external linking in pure-Go builds. The linker now rejects \".syso\" files that are not recognized host object formats, and \"cmd/go\" and \"cmd/pack\" preserve the \".syso\" suffix when truncating long archive member names.","datePublished":"Nov 11, 2026, 3:13:15 AM","dateUpdated":"Nov 11, 2026, 3:13:15 AM","baseScore":0.0,"references":"https://go.dev/cl/862153\nhttps://go.dev/issue/82570\nhttps://groups.google.com/g/golang-announce/c/iY8TY0wWgbM\nhttps://pkg.go.dev/vuln/GO-2026-6851\n","aliases":"CVE-2026-97040\nGHSA-9767-p5x8-v2p2\n","assigner":"Go","epss":0.25,"enisaIdProduct":[{"id":"264f19b6-d213-32b5-9c7f-844bd707983c","product":{"name":"cmd/link","vendor":{"name":"Go toolchain"}},"product_version":"0 \u003c1.26.11"},{"id":"5a35b5de-0fe7-3522-97eb-7c4e1a8ace10","product":{"name":"cmd/link","vendor":{"name":"Go toolchain"}},"product_version":"1.27.0-0 \u003c1.27.4"},{"id":"7eb1d531-7a70-358f-b695-9822bb1aaffb","product":{"name":"cmd/go","vendor":{"name":"Go toolchain"}},"product_version":"0 \u003c1.26.11"},{"id":"dda53b9f-3487-3f13-87ae-3c33bdbd87c1","product":{"name":"cmd/go","vendor":{"name":"Go toolchain"}},"product_version":"1.27.0-0 \u003c1.27.4"}],"enisaIdVendor":[{"id":"56320715-b717-321f-a086-a5d93ef78076","vendor":{"name":"Go toolchain"}}],"enisaIdVulnerability":[{"id":"685202b8-1100-3935-b892-0cb7df717468","vulnerability":{"id":"GHSA-9767-p5x8-v2p2","description":"Building a package containing a crafted \".syso\" file could bypass cgo flag validation and inject arbitrary linker flags when linking. When loading \".syso\" entries from a package archive, the linker only checked for recognized host object headers (ELF, Mach-O, PE, and XCOFF) before falling through to Go object parsing. A \".syso\" file beginning with a \"go object\" header was parsed as a Go compiler object, allowing untrusted cgo metadata directives (such as \"cgo_ldflag\" or \"cgo_dynamic_linker\") embedded in the \".syso\" file to be passed to the external linker without validation. Additionally, \".syso\" filenames longer than 16 bytes lost their \".syso\" extension when truncated in archive headers, and unrecognized \".syso\" formats forced external linking in pure-Go builds. The linker now rejects \".syso\" files that are not recognized host object formats, and \"cmd/go\" and \"cmd/pack\" preserve the \".syso\" suffix when truncating long archive member names.","datePublished":"Nov 11, 2026, 6:32:38 AM","dateUpdated":"Nov 11, 2026, 6:32:38 AM","baseScore":0.0,"references":"https://nvd.nist.gov/vuln/detail/CVE-2026-97040\nhttps://go.dev/cl/862153\nhttps://go.dev/issue/82570\nhttps://groups.google.com/g/golang-announce/c/iY8TY0wWgbM\nhttps://pkg.go.dev/vuln/GO-2026-6851\n","enisa_id":"EUVD-2026-123105\n","aliases":"CVE-2026-97040\nGHSA-9767-p5x8-v2p2\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 7:06:20 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"968cac9c-c475-33b6-a8df-c618284e85cb","vulnerability":{"id":"CVE-2026-97040","description":"Building a package containing a crafted \".syso\" file could bypass cgo flag validation and inject arbitrary linker flags when linking. When loading \".syso\" entries from a package archive, the linker only checked for recognized host object headers (ELF, Mach-O, PE, and XCOFF) before falling through to Go object parsing. A \".syso\" file beginning with a \"go object\" header was parsed as a Go compiler object, allowing untrusted cgo metadata directives (such as \"cgo_ldflag\" or \"cgo_dynamic_linker\") embedded in the \".syso\" file to be passed to the external linker without validation. Additionally, \".syso\" filenames longer than 16 bytes lost their \".syso\" extension when truncated in archive headers, and unrecognized \".syso\" formats forced external linking in pure-Go builds. The linker now rejects \".syso\" files that are not recognized host object formats, and \"cmd/go\" and \"cmd/pack\" preserve the \".syso\" suffix when truncating long archive member names.","datePublished":"Nov 11, 2026, 3:13:15 AM","dateUpdated":"Nov 11, 2026, 3:13:15 AM","status":"PUBLISHED","baseScore":0.0,"references":"https://go.dev/cl/862153\nhttps://go.dev/issue/82570\nhttps://groups.google.com/g/golang-announce/c/iY8TY0wWgbM\nhttps://pkg.go.dev/vuln/GO-2026-6851\n","enisa_id":"EUVD-2026-123105\n","assigner":"Go","epss":0.25,"dataProcessed":"Nov 15, 2026, 7:17:22 AM","vulnerabilityProduct":[{"id":"181bb8cf-cd14-3e34-91b0-b2d47d4160b5","product":{"name":"cmd/go","vendor":{"name":"Go toolchain"}},"product_version":"0 \u003c1.26.11"},{"id":"3e48aa7b-add6-3695-a44b-0ab39e4cc226","product":{"name":"cmd/link","vendor":{"name":"Go toolchain"}},"product_version":"0 \u003c1.26.11"},{"id":"70717406-157b-3f86-bef9-1fdbf5f45b2c","product":{"name":"cmd/go","vendor":{"name":"Go toolchain"}},"product_version":"1.27.0-0 \u003c1.27.4"},{"id":"c24f67ac-0da9-30a8-b6eb-da203866a422","product":{"name":"cmd/link","vendor":{"name":"Go toolchain"}},"product_version":"1.27.0-0 \u003c1.27.4"}],"vulnerabilityVendor":[{"id":"d34fcda4-457b-3acb-9f65-62c6b5df7ab9","vendor":{"name":"Go toolchain"}}]}}],"enisaIdAdvisory":[{"id":"758eecdf-fb5d-379e-a0ff-7041a7a916cc","advisory":{"id":"openSUSE-SU-2026:12540-1","description":"go1.27-1.27.4-1.1 on GA media","summary":"go1.27-1.27.4-1.1 on GA media","datePublished":"Nov 13, 2026, 12:00:00 AM","dateUpdated":"Nov 14, 2026, 10:21:31 AM","baseScore":0.0,"references":"https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_12540-1.json\nhttps://www.suse.com/security/cve/CVE-2026-97033/\nhttps://www.suse.com/security/cve/CVE-2026-97034/\nhttps://www.suse.com/security/cve/CVE-2026-97035/\nhttps://www.suse.com/security/cve/CVE-2026-97036/\nhttps://www.suse.com/security/cve/CVE-2026-97037/\nhttps://www.suse.com/security/cve/CVE-2026-97038/\nhttps://www.suse.com/security/cve/CVE-2026-97039/\nhttps://www.suse.com/security/cve/CVE-2026-97040/\nhttps://www.suse.com/security/cve/CVE-2026-97041/\nhttps://www.suse.com/security/cve/CVE-2026-97042/\nhttps://www.suse.com/security/cve/CVE-2026-97043/\nhttps://www.suse.com/security/cve/CVE-2026-97054/\n","aliases":"CVE-2026-97033\nCVE-2026-97034\nCVE-2026-97035\nCVE-2026-97036\nCVE-2026-97037\nCVE-2026-97038\nCVE-2026-97039\nCVE-2026-97040\nCVE-2026-97041\nCVE-2026-97042\nCVE-2026-97043\nCVE-2026-97054\n","source":{"id":21,"name":"csaf_opensuse"},"advisoryProduct":[{"id":"206cffed-ade2-31e9-920c-07396e5aff6e","product":{"name":"go1.27-0:1.27.4-1.1.s390x","vendor":{"name":"SUSE"}}},{"id":"2a3a4c7d-d6ed-364a-9148-a44b7ff0f436","product":{"name":"go1.27-0:1.27.4-1.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"2ab1d962-e3c7-3613-be5d-cb8ee9c6037c","product":{"name":"go1.27-doc-0:1.27.4-1.1.s390x","vendor":{"name":"SUSE"}}},{"id":"2fe1af53-68b5-3961-a4a8-26b1413f8c6f","product":{"name":"go1.27-race-0:1.27.4-1.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"585f8770-1504-381f-940f-ab1fc6971f2d","product":{"name":"go1.27-race-0:1.27.4-1.1.s390x","vendor":{"name":"SUSE"}}},{"id":"7fd9fb01-5235-3bb3-8a24-08a70cc68497","product":{"name":"go1.27-doc-0:1.27.4-1.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"92d43522-e255-3c63-8fe0-f36a1c36202c","product":{"name":"openSUSE Tumbleweed","vendor":{"name":"SUSE"}}},{"id":"9be3bbc1-2ac0-3ae9-af06-4ba4554f4846","product":{"name":"go1.27-doc-0:1.27.4-1.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"a40426d2-6569-3aec-9715-07e5bed45892","product":{"name":"go1.27-race-0:1.27.4-1.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"e0eb5f96-49d6-3b35-b3bf-ffa8f267c522","product":{"name":"go1.27-0:1.27.4-1.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"e7c6fa5a-efca-3745-9f6b-88b8f4d4086a","product":{"name":"go1.27-0:1.27.4-1.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"ee20b2f7-6619-3397-ba99-f5123c952cf8","product":{"name":"go1.27-doc-0:1.27.4-1.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"ef31f381-23b5-3554-a973-86d141903db9","product":{"name":"go1.27-race-0:1.27.4-1.1.aarch64","vendor":{"name":"SUSE"}}}]}},{"id":"803bccd3-255f-3b7b-a824-12fda7c7b64a","advisory":{"id":"msrc_CVE-2026-97040","description":"Cgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/link","datePublished":"Nov 13, 2026, 1:06:37 AM","dateUpdated":"Nov 13, 2026, 1:06:37 AM","baseScore":0.0,"references":"https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-97040.json\n","aliases":"CVE-2026-97040\n","source":{"id":20,"name":"csaf_microsoft"},"advisoryProduct":[{"id":"2705bbe4-262a-3ce5-98d1-a9f073ce0aea","product":{"name":"Azure Linux","vendor":{"name":"Microsoft"}}},{"id":"2edf6132-7a5c-3a04-8780-eece74bfb152","product":{"name":"tensorflow","vendor":{"name":"tensorflow"}}},{"id":"312d9702-8d0c-33f6-8d74-4a0cc44ca0be","product":{"name":"3.0","vendor":{"name":"Wind River"}}},{"id":"b2e9089b-a5e2-32c9-8c5b-b4f3fa8fa829","product":{"name":"gcc","vendor":{"name":"GNU"}}},{"id":"be1ea503-45c9-3a21-be16-1ebe2a821a88","product":{"name":"python-tensorboard","vendor":{"name":"Microsoft"}}},{"id":"e28be1e5-4e65-37b7-85a1-dff2b73e5b0d","product":{"name":"GoLang","vendor":{"name":"Go Programming Language"}}}]}},{"id":"b44b00f8-8885-3773-81b9-78d794e1c4c2","advisory":{"id":"WID-SEC-W-2026-4370","description":"Golang Go: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff","summary":"Ein Angreifer kann mehrere Schwachstellen in Golang Go ausnutzen, um einen nicht näher spezifizierten Angriff durchzuführen.","datePublished":"Nov 5, 2026, 11:00:00 PM","dateUpdated":"Nov 12, 2026, 11:00:00 PM","baseScore":0.0,"references":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-4370.json\nhttps://wid.cert-bund.de/portal/wid/securityadvisory?name\u003dWID-SEC-2026-4370\n","aliases":"CVE-2026-97033\nCVE-2026-97034\nCVE-2026-97035\nCVE-2026-97036\nCVE-2026-97037\nCVE-2026-97038\nCVE-2026-97039\nCVE-2026-97040\nCVE-2026-97041\nCVE-2026-97042\nCVE-2026-97043\nCVE-2026-97054\n","source":{"id":8,"name":"csaf_certbund"},"advisoryProduct":[{"id":"110e7eed-5fba-370d-b323-ec8a6cff6d04","product":{"name":"SUSE Linux","vendor":{"name":"SUSE"}}},{"id":"1f95ad29-ebff-3708-8199-40f225820396","product":{"name":"1.26.11","vendor":{"name":"golang"}}},{"id":"7ae760bd-08c1-36b8-9282-2f953a1f653c","product":{"name":"1.27.4","vendor":{"name":"golang"}}},{"id":"a1aa1554-5247-36e8-96f9-60e5ebf2e240","product":{"name":"Red Hat Enterprise Linux","vendor":{"name":"Red Hat"}}},{"id":"a592630b-86d8-3b96-a76d-07c646f89bfe","product":{"name":"Go","vendor":{"name":"ecies"}}}]}},{"id":"ecc52c4a-6bfc-3441-ac60-692cafd3c3f7","advisory":{"id":"openSUSE-SU-2026:12529-1","description":"go1.26-1.26.11-1.1 on GA media","summary":"go1.26-1.26.11-1.1 on GA media","datePublished":"Nov 11, 2026, 12:00:00 AM","dateUpdated":"Nov 12, 2026, 11:01:44 AM","baseScore":0.0,"references":"https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_12529-1.json\nhttps://www.suse.com/security/cve/CVE-2026-97033/\nhttps://www.suse.com/security/cve/CVE-2026-97034/\nhttps://www.suse.com/security/cve/CVE-2026-97035/\nhttps://www.suse.com/security/cve/CVE-2026-97036/\nhttps://www.suse.com/security/cve/CVE-2026-97037/\nhttps://www.suse.com/security/cve/CVE-2026-97038/\nhttps://www.suse.com/security/cve/CVE-2026-97039/\nhttps://www.suse.com/security/cve/CVE-2026-97040/\nhttps://www.suse.com/security/cve/CVE-2026-97041/\nhttps://www.suse.com/security/cve/CVE-2026-97042/\nhttps://www.suse.com/security/cve/CVE-2026-97043/\nhttps://www.suse.com/security/cve/CVE-2026-97054/\n","aliases":"CVE-2026-97033\nCVE-2026-97034\nCVE-2026-97035\nCVE-2026-97036\nCVE-2026-97037\nCVE-2026-97038\nCVE-2026-97039\nCVE-2026-97040\nCVE-2026-97041\nCVE-2026-97042\nCVE-2026-97043\nCVE-2026-97054\n","source":{"id":21,"name":"csaf_opensuse"},"advisoryProduct":[{"id":"12f33c92-fc22-37cd-96d9-aa64c66311fa","product":{"name":"openSUSE Tumbleweed","vendor":{"name":"SUSE"}}},{"id":"26b60a0e-0d0a-309c-a8fb-04c80b587f51","product":{"name":"go1.26-0:1.26.11-1.1.s390x","vendor":{"name":"SUSE"}}},{"id":"4012baed-5195-3d89-aef6-fdbecce8e535","product":{"name":"go1.26-0:1.26.11-1.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"40a63cfc-0155-329f-905e-14a4389fe1d2","product":{"name":"go1.26-doc-0:1.26.11-1.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"4bb25f78-55c5-3dc3-9643-20fdd15db850","product":{"name":"go1.26-doc-0:1.26.11-1.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"54e35f03-8892-375f-b81e-4f16bbafbeb4","product":{"name":"go1.26-doc-0:1.26.11-1.1.s390x","vendor":{"name":"SUSE"}}},{"id":"78aedbe5-c7c3-3fea-8f82-a7dd595f491e","product":{"name":"go1.26-race-0:1.26.11-1.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"920d9c5e-8abe-3b9e-8842-06f81ada5f2d","product":{"name":"go1.26-0:1.26.11-1.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"c5a3a0dd-c6bc-3769-a1d1-13689fee1a03","product":{"name":"go1.26-race-0:1.26.11-1.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"e3e9456d-4263-3ccc-85fc-0748774cb8f2","product":{"name":"go1.26-0:1.26.11-1.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"e762edd8-aa8a-35ba-b0d1-a07c4c0a8a39","product":{"name":"go1.26-doc-0:1.26.11-1.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"ef9e1241-12e7-3a49-80c2-13ee75d93976","product":{"name":"go1.26-race-0:1.26.11-1.1.s390x","vendor":{"name":"SUSE"}}},{"id":"f22a8d9e-1800-32a2-979f-24d0cd530a08","product":{"name":"go1.26-race-0:1.26.11-1.1.ppc64le","vendor":{"name":"SUSE"}}}]}}]}