CVE-2026-97040
Kritisch 9,8Building a package containing a crafted ".syso" file could bypass cgo flag validation and inject arbitrary linker flags when linking. When loading ".syso" entri...
- CVSS
- 9,8 (v3.1)
- Angriffswahrscheinlichkeit (EPSS)
- 0,80 % (höher als 57,8 % aller Lücken)
- Veröffentlicht
- 11.11.2026
- Zuletzt geändert
- 16.11.2026
Beschreibung
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.
Betroffene Pakete
| Paket | Betroffen | Behoben in |
|---|---|---|
| AlmaLinux:10 go-toolset | alle Versionen vor 1.27.4-3.el10_3.alma.1 | 1.27.4-3.el10_3.alma.1 |
| AlmaLinux:10 golang | alle Versionen vor 1.27.4-3.el10_3.alma.1 | 1.27.4-3.el10_3.alma.1 |
| AlmaLinux:10 golang-bin | alle Versionen vor 1.27.4-3.el10_3.alma.1 | 1.27.4-3.el10_3.alma.1 |
| AlmaLinux:10 golang-docs | alle Versionen vor 1.27.4-3.el10_3.alma.1 | 1.27.4-3.el10_3.alma.1 |
| AlmaLinux:10 golang-misc | alle Versionen vor 1.27.4-3.el10_3.alma.1 | 1.27.4-3.el10_3.alma.1 |
| AlmaLinux:10 golang-race | alle Versionen vor 1.27.4-3.el10_3.alma.1 | 1.27.4-3.el10_3.alma.1 |
| AlmaLinux:10 golang-src | alle Versionen vor 1.27.4-3.el10_3.alma.1 | 1.27.4-3.el10_3.alma.1 |
| AlmaLinux:10 golang-tests | alle Versionen vor 1.27.4-3.el10_3.alma.1 | 1.27.4-3.el10_3.alma.1 |
| AlmaLinux:8 delve | alle Versionen vor 1.26.1-2.module_el8.10.0+4353+8cb525cc | 1.26.1-2.module_el8.10.0+4353+8cb525cc |
| AlmaLinux:9 go-toolset | alle Versionen vor 1.27.4-1.el9_9 | 1.27.4-1.el9_9 |
| AlmaLinux:9 golang | alle Versionen vor 1.27.4-1.el9_9 | 1.27.4-1.el9_9 |
| AlmaLinux:9 golang-bin | alle Versionen vor 1.27.4-1.el9_9 | 1.27.4-1.el9_9 |
| AlmaLinux:9 golang-docs | alle Versionen vor 1.27.4-1.el9_9 | 1.27.4-1.el9_9 |
| AlmaLinux:9 golang-misc | alle Versionen vor 1.27.4-1.el9_9 | 1.27.4-1.el9_9 |
| AlmaLinux:9 golang-race | alle Versionen vor 1.27.4-1.el9_9 | 1.27.4-1.el9_9 |
| AlmaLinux:9 golang-src | alle Versionen vor 1.27.4-1.el9_9 | 1.27.4-1.el9_9 |
| AlmaLinux:9 golang-tests | alle Versionen vor 1.27.4-1.el9_9 | 1.27.4-1.el9_9 |
| Alpine:v3.24 go | alle Versionen vor 1.26.11-r0 | 1.26.11-r0 |
| Debian:12 golang-1.19 | alle Versionen, noch kein Fix | noch kein Fix |
| Debian:13 golang-1.24 | alle Versionen, noch kein Fix | noch kein Fix |
| Rocky Linux:10 go-toolset | alle Versionen vor 0:1.27.4-3.el10_3 | 0:1.27.4-3.el10_3 |
| Rocky Linux:10 golang | alle Versionen vor 0:1.27.4-3.el10_3 | 0:1.27.4-3.el10_3 |
| Rocky Linux:10 golang-bin | alle Versionen vor 0:1.27.4-3.el10_3 | 0:1.27.4-3.el10_3 |
| Rocky Linux:10 golang-docs | alle Versionen vor 0:1.27.4-3.el10_3 | 0:1.27.4-3.el10_3 |
| Rocky Linux:10 golang-misc | alle Versionen vor 0:1.27.4-3.el10_3 | 0:1.27.4-3.el10_3 |
| Rocky Linux:10 golang-race | alle Versionen vor 0:1.27.4-3.el10_3 | 0:1.27.4-3.el10_3 |
| Rocky Linux:10 golang-src | alle Versionen vor 0:1.27.4-3.el10_3 | 0:1.27.4-3.el10_3 |
| Rocky Linux:10 golang-tests | alle Versionen vor 0:1.27.4-3.el10_3 | 0:1.27.4-3.el10_3 |
| Rocky Linux:8 delve | alle Versionen vor 0:1.26.1-2.module+el8.10.0+40408+b9bc4117 | 0:1.26.1-2.module+el8.10.0+40408+b9bc4117 |
| Rocky Linux:8 delve-debuginfo | alle Versionen vor 0:1.26.1-2.module+el8.10.0+40408+b9bc4117 | 0:1.26.1-2.module+el8.10.0+40408+b9bc4117 |
| Rocky Linux:8 delve-debugsource | alle Versionen vor 0:1.26.1-2.module+el8.10.0+40408+b9bc4117 | 0:1.26.1-2.module+el8.10.0+40408+b9bc4117 |
| Rocky Linux:8 go-toolset | alle Versionen vor 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 | 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 |
| Rocky Linux:8 golang | alle Versionen vor 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 | 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 |
| Rocky Linux:8 golang-bin | alle Versionen vor 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 | 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 |
| Rocky Linux:8 golang-docs | alle Versionen vor 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 | 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 |
| Rocky Linux:8 golang-misc | alle Versionen vor 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 | 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 |
| Rocky Linux:8 golang-race | alle Versionen vor 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 | 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 |
| Rocky Linux:8 golang-src | alle Versionen vor 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 | 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 |
| Rocky Linux:8 golang-tests | alle Versionen vor 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 | 0:1.26.11-1.module+el8.10.0+40500+a2fcb627 |
| Rocky Linux:9 go-toolset | alle Versionen vor 0:1.27.4-1.el9_9 | 0:1.27.4-1.el9_9 |
| Rocky Linux:9 golang | alle Versionen vor 0:1.27.4-1.el9_9 | 0:1.27.4-1.el9_9 |
| Rocky Linux:9 golang-bin | alle Versionen vor 0:1.27.4-1.el9_9 | 0:1.27.4-1.el9_9 |
| Rocky Linux:9 golang-docs | alle Versionen vor 0:1.27.4-1.el9_9 | 0:1.27.4-1.el9_9 |
| Rocky Linux:9 golang-misc | alle Versionen vor 0:1.27.4-1.el9_9 | 0:1.27.4-1.el9_9 |
| Rocky Linux:9 golang-race | alle Versionen vor 0:1.27.4-1.el9_9 | 0:1.27.4-1.el9_9 |
| Rocky Linux:9 golang-src | alle Versionen vor 0:1.27.4-1.el9_9 | 0:1.27.4-1.el9_9 |
| Rocky Linux:9 golang-tests | alle Versionen vor 0:1.27.4-1.el9_9 | 0:1.27.4-1.el9_9 |
| Ubuntu:22.04:LTS golang-1.17 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS golang-1.18 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS golang-1.20 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS golang-1.21 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS golang-1.22 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS golang-1.23 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS golang-1.24 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS golang-1.25 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS golang-1.26 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS golang-1.21 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS golang-1.22 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS golang-1.23 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS golang-1.24 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS golang-1.25 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS golang-1.26 | alle Versionen, noch kein Fix | noch kein Fix |
Quellen
Weitere Kennungen
UBUNTU-CVE-2026-97040 · DEBIAN-CVE-2026-97040 · ALPINE-CVE-2026-97040 · CWE-94
Sind Ihre Projekte betroffen?
Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.