ADVISORIES

SUSE Security Update

SUSE-SU-2026:5226-1

Security update for go1.27

Details

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 (bsc#1289978).

  • CVE-2026-97034: cmd/go: arbitrary command execution via GCC spec files in cgo linker search directories

(bsc#1289979).

  • CVE-2026-97035: cmd/go: unexpected code execution and arbitrary file write via Clang -gen-* and GCC -gnat*

flags in cgo (bsc#1289980).

  • CVE-2026-97036: cmd/go: arbitrary code execution during build on darwin via -l to_library in cgo (bsc#1289981).
  • CVE-2026-97037: cmd/go: linker script injection via split -Wl, flags and Darwin or symbol linker flags in cgo

(bsc#1289982).

  • CVE-2026-97038: cmd/go: arbitrary code execution via crafted .syso files and cgo linker input files

(bsc#1289983).

  • CVE-2026-97039: cmd/go: flag sanitization bypass via #cgo pkg-config: directives (bsc#1289984).
  • CVE-2026-97040: cmd/go, cmd/link: cgo directive injection via .syso files disguised as Go object files

(bsc#1289985).

  • CVE-2026-97041: cmd/compile, cmd/link: host linker flag injection via //go:cgo_* directives (bsc#1289986).
  • CVE-2026-97042: cmd/cgo, cmd/compile, cmd/link: linker flag injection via cgo_import_dynamic and PE DLL

names (bsc#1289987).

  • CVE-2026-97043: cmd/go, cmd/compile: unexpected code execution via escaped quotes in //go:cgo_ldflag

(bsc#1289988).

  • CVE-2026-97054: net/http: HTTP/1 server crash due to MaxBytesReader header race (bsc#1289989).

Changes for go1.27:

Update to version go1.27.4 (bsc#1272545):

  • go#81866 cmd/compile: branchelim optimization can eliminate result of store
  • go#81927 cmd/asm: amd64 assembler loops forever on a forward jump to a labelled PCALIGN when a branch needs

widening

  • go#82023 net: Dialer.Dial{TCP,UDP,IP} incorrectly treats invalid addresses as ::
  • go#82106 cmd/compile: staticcheck still crashes with generic methods on Go 1.27.2
  • go#82150 runtime: linux/mips time64 nanosecond layout causes busy waits and empty CPU profiles
  • go#82334 cmd/dist: GOFIPS140 bootstrap from Go 1.26 fails
  • go#82536 crypto/tls: omit ML-DSA from signature_algorithms_cert in Go 1.27CherryPickApproved
  • go#82627 crypto/fips140: minor compliance improvements
  • go#82657 runtime: nil-pointer panic in a promoted-method wrapper becomes 'traceback did not unwind completely'

under -race

Affected packages

EcosystemPackageAffected versions
SUSE:Linux Enterprise Module for Development Tools 15 SP7go1.27
All versions before 1.27.4-150000.1.18.1 (fixed in 1.27.4-150000.1.18.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSgo1.27
All versions before 1.27.4-150000.1.18.1 (fixed in 1.27.4-150000.1.18.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSgo1.27
All versions before 1.27.4-150000.1.18.1 (fixed in 1.27.4-150000.1.18.1)
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSgo1.27
All versions before 1.27.4-150000.1.18.1 (fixed in 1.27.4-150000.1.18.1)
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSgo1.27
All versions before 1.27.4-150000.1.18.1 (fixed in 1.27.4-150000.1.18.1)
SUSE:Linux Enterprise Server 15 SP4-LTSSgo1.27
All versions before 1.27.4-150000.1.18.1 (fixed in 1.27.4-150000.1.18.1)
SUSE:Linux Enterprise Server 15 SP5-LTSSgo1.27
All versions before 1.27.4-150000.1.18.1 (fixed in 1.27.4-150000.1.18.1)
SUSE:Linux Enterprise Server 15 SP6-LTSSgo1.27
All versions before 1.27.4-150000.1.18.1 (fixed in 1.27.4-150000.1.18.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP4go1.27
All versions before 1.27.4-150000.1.18.1 (fixed in 1.27.4-150000.1.18.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP5go1.27
All versions before 1.27.4-150000.1.18.1 (fixed in 1.27.4-150000.1.18.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP6go1.27
All versions before 1.27.4-150000.1.18.1 (fixed in 1.27.4-150000.1.18.1)

References