ALAS2-2026-4125


Amazon Linux 2 (EOS) Security Advisory: ALAS2-2026-4125
Advisory Released Date: 2026-11-17
Advisory Updated Date: 2026-11-17
Severity: Important

Issue Overview:

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

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

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

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

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

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

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

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

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

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

net/http: HTTP/1 server crash due to MaxBytesReader header race (CVE-2026-97054)


Affected Packages:

golang


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update golang or yum update --advisory ALAS2-2026-4125 to update your system.

New Packages:
aarch64:
    golang-1.26.11-1.amzn2.0.1.aarch64
    golang-bin-1.26.11-1.amzn2.0.1.aarch64
    golang-shared-1.26.11-1.amzn2.0.1.aarch64

noarch:
    golang-docs-1.26.11-1.amzn2.0.1.noarch
    golang-misc-1.26.11-1.amzn2.0.1.noarch
    golang-tests-1.26.11-1.amzn2.0.1.noarch
    golang-src-1.26.11-1.amzn2.0.1.noarch

src:
    golang-1.26.11-1.amzn2.0.1.src

x86_64:
    golang-1.26.11-1.amzn2.0.1.x86_64
    golang-bin-1.26.11-1.amzn2.0.1.x86_64
    golang-shared-1.26.11-1.amzn2.0.1.x86_64