ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2026-3475

Amazon Linux 2023 - ALAS2023-2026-3475: Important priority package update for golang

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-97054: net/http: HTTP/1 server crash due to MaxBytesReader header race

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

CVE-2026-97042: cmd/cgo, cmd/compile, cmd/link: linker flag injection via cgo_import_dynamic and PE DLL names

CVE-2026-97041: cmd/compile, cmd/link: host linker flag injection via //go:cgo_* directives

CVE-2026-97040: cmd/go, cmd/link: cgo directive injection via .syso files disguised as Go object files

CVE-2026-97039: cmd/go: flag sanitization bypass via "#cgo pkg-config:" directives

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

CVE-2026-97037: cmd/go: linker script injection via split -Wl, flags and Darwin or symbol linker flags in cgo

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

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

CVE-2026-97033: cmd/go: unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023golang
All versions before 1.26.11-1.amzn2023.0.1 (fixed in 1.26.11-1.amzn2023.0.1)
Amazon Linux:2023golang-bin
All versions before 1.26.11-1.amzn2023.0.1 (fixed in 1.26.11-1.amzn2023.0.1)
Amazon Linux:2023golang-docs
All versions before 1.26.11-1.amzn2023.0.1 (fixed in 1.26.11-1.amzn2023.0.1)
Amazon Linux:2023golang-misc
All versions before 1.26.11-1.amzn2023.0.1 (fixed in 1.26.11-1.amzn2023.0.1)
Amazon Linux:2023golang-shared
All versions before 1.26.11-1.amzn2023.0.1 (fixed in 1.26.11-1.amzn2023.0.1)
Amazon Linux:2023golang-src
All versions before 1.26.11-1.amzn2023.0.1 (fixed in 1.26.11-1.amzn2023.0.1)
Amazon Linux:2023golang-tests
All versions before 1.26.11-1.amzn2023.0.1 (fixed in 1.26.11-1.amzn2023.0.1)

References