205 matches found
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
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-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-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-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-97037
The Go toolchain (specifically cmd/go) is vulnerable to linker script injection via split -Wl, flags and certain Darwin or symbol linker flags used in cgo . The root cause is that split -Wl, flags previously accepted a bare second argument without a -Wl, prefix, allowing the compiler driver to pa...
CVE-2026-97035
The Go toolchain (cmd/go) is vulnerable to unexpected code execution and arbitrary file writes when building packages using cgo with Clang or GCC . The root cause is that the -g* wildcard in compiler and linker flags incorrectly allowlists Clang's -gen-* and GCC's -gnat* flags in #cgo directives....
CVE-2026-97035 Unexpected code execution and arbitrary file write via Clang -gen-* and GCC -gnat* flags in cgo in cmd/go
When using Clang or GCC, building a malicious package that uses cgo could cause unexpected code execution at build time or write files to arbitrary directories via "-gen-" or "-gnat" flags in "cgo" directives. The "-g" wildcard in the compiler and linker flag allowlists previously matched Clang's...
CVE-2026-97036 Arbitrary code execution during build on darwin via "-l to_library" in cgo in cmd/go
On Darwin, building a malicious package that uses cgo could cause arbitrary code execution when using the Apple linker due to passing "-l tolibrary " in a "cgo LDFLAGS" directive. The Apple linker recombines the separated arguments "-l" and "tolibrary" into "-ltolibrary", which loads an arbitrary...
CVE-2026-97037 Linker script injection via split -Wl, flags and Darwin or symbol linker flags in cgo in cmd/go
Building a malicious package that uses cgo could cause arbitrary code execution at link time by passing linker script files to the host linker via "cgo LDFLAGS". Split "-Wl," flags that consume a following argument such as "-Wl,-rpath", "-Wl,--just-symbols", and "-Wl,-undefined" previously accept...
CVE-2026-97036
The Go toolchain (cmd/go) is vulnerable to arbitrary code execution during the build process on Darwin systems. The flaw exists when building a malicious package that utilizes cgo ; a #cgo LDFLAGS directive containing -l to_library allows the Apple linker to recombine these into -lto_library, loa...
CVE-2026-97039 Flag sanitization bypass via "#cgo pkg-config:" directives in cmd/go
Building a malicious package that uses "cgo pkg-config:" directives could load untrusted pkg-config ".pc" files or inject unvalidated compiler and linker flags. The pkg-config flag allowlist previously permitted "--with-path=" and "--personality=", allowed "--define-variable=" values beginning wi...
CVE-2026-97039
The Go toolchain (cmd/go) contains a flag sanitization bypass in the #cgo pkg-config: directive. A malicious package could leverage this to load untrusted pkg-config ".pc" files or inject unvalidated compiler and linker flags. Specifically, the vulnerability stems from previously permitted values...
CVE-2026-97040 Cgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/link
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...