229 matches found
CVE-2026-97034
A flaw was found in cmd/go. This flaw allows an attacker to achieve arbitrary command execution when a developer or automated system builds an untrusted Go package that uses cgo Go's C language integration. When compiling with the GCC GNU Compiler Collection compiler, specific build flags cause t...
CVE-2026-97035
A flaw was found in cmd/go. An attacker could achieve arbitrary code execution or write files to arbitrary locations by enticing a developer or automated build system to compile a crafted package. This vulnerability occurs when compiling packages that use cgo Go's C-language interoperability...
CVE-2026-97033
A flaw was found in cmd/go. An attacker could achieve arbitrary code execution by enticing a user or automated build pipeline to compile a malicious package that uses cgo, which allows Go packages to call C code. Specially crafted compiler and linker flags permitted in build directives can cause...
CVE-2026-97037
A flaw was found in cmd/go. An attacker can achieve arbitrary code execution on a system that compiles a malicious package utilizing cgo Go's C programming language integration feature. When building the untrusted package, improperly validated linker flags allow malicious linker script files to b...
CVE-2026-97038
A flaw was found in cmd/go. This vulnerability allows arbitrary code execution on the build system when compiling untrusted packages. The Go build tool passes linker input files to the external linker without properly validating their format or checking for embedded directives. An attacker can...
CVE-2026-97036
A flaw was found in cmd/go. When a user builds a malicious package using cgo on macOS Darwin, an attacker can achieve arbitrary code execution on the build system. This issue occurs because the platform linker recombines separated linker flag arguments into a command that loads an arbitrary dynam...
CVE-2026-97039
A flaw was found in cmd/go. This vulnerability allows an attacker to achieve arbitrary code execution when a user or automated system compiles an untrusted Go package. Due to insufficient validation of package configuration directives cgo pkg-config:, an attacker can supply crafted directives tha...
DHI-WANN-DOQV-7RAV-YXHI Building a package containing a crafted ".syso" file could bypass cgo flag validation and inject arbitrary linker flags…
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 t...
SUSE SLED15 / SLES15 Security Update : go1.26 (SUSE-SU-2026:5227-1)
The remote SUSE Linux SLED15 / SLEDSAP15 / SLES15 / SLESSAP15 host has packages installed that are affected by multiple vulnerabilities as referenced in the SUSE-SU-2026:5227-1 advisory. This update for go1.26 fixes the following issue: Security issues fixed: - CVE-2026-97033: cmd/go: unexpected...
SUSE SLED15 / SLES15 Security Update : go1.27 (SUSE-SU-2026:5226-1)
The remote SUSE Linux SLED15 / SLEDSAP15 / SLES15 / SLESSAP15 host has packages installed that are affected by multiple vulnerabilities as referenced in the SUSE-SU-2026:5226-1 advisory. This update for go1.27 fixes the following issue: Security issues fixed: - CVE-2026-97033: cmd/go: unexpected...
Security update for go1.26
This update for go1.26 fixes the following issue: Security issues fixed: CVE-2026-97033: cmd/go: unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags bsc1289978. CVE-2026-97034: cmd/go: arbitrary command execution via GCC spec files in cgo linker search...
SUSE-SU-2026:5227-1 Security update for go1.26
This update for go1.26 fixes the following issue: Security issues fixed: - CVE-2026-97033: cmd/go: unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags bsc1289978. - CVE-2026-97034: cmd/go: arbitrary command execution via GCC spec files in cgo linker sear...
Security update for go1.27
This update for go1.27 fixes the following issue: Security issues fixed: CVE-2026-97033: cmd/go: unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags bsc1289978. CVE-2026-97034: cmd/go: arbitrary command execution via GCC spec files in cgo linker search...
SUSE-SU-2026:5226-1 Security update for go1.27
This update for go1.27 fixes the following issue: Security issues fixed: - CVE-2026-97033: cmd/go: unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags bsc1289978. - CVE-2026-97034: cmd/go: arbitrary command execution via GCC spec files in cgo linker sear...
CVE-2026-97040
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 t...
CVE-2026-97033 Unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags in cmd/go
Building a malicious package that uses cgo could cause arbitrary code execution at build time through several compiler and linker flags permitted in "cgo" directives. Specifically, "--sysroot" in GCC and Clang relocates compiler subprograms, spec files, and CRT startup objects to an...
CVE-2026-97033
The Go programming language toolchain (specifically cmd/go) is vulnerable to arbitrary code execution at build time when processing malicious packages using cgo . The root cause lies in the lack of sanitization for several compiler and linker flags permitted in #cgo directives: --sysroot in GCC/C...
CVE-2026-97034 Arbitrary command execution via GCC spec files in cgo linker search directories in cmd/go
When using GCC, building a malicious package that uses cgo could cause arbitrary command execution at link time via untrusted GCC spec files "specs" or ".spec". When linking with "-fopenmp", "-fopenacc", or "-fsanitize=" in "cgo LDFLAGS", GCC's built-in link spec evaluates "%:includelibgomp.spec"...
CVE-2026-97034
The Go toolchain (cmd/go) is vulnerable to arbitrary command execution at link time when building a malicious package that uses cgo with GCC . The vulnerability is caused by GCC evaluating built-in link specs (such as libgomp.spec or libsanitizer.spec) and searching for spec files in directories ...
CVE-2026-97033 Unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags in cmd/go
Building a malicious package that uses cgo could cause arbitrary code execution at build time through several compiler and linker flags permitted in "cgo" directives. Specifically, "--sysroot" in GCC and Clang relocates compiler subprograms, spec files, and CRT startup objects to an...