Amazon Linux 2 : golang (ALAS-2026-4125)

critical Nessus Plugin ID 382328

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of golang installed on the remote host is prior to 1.26.11-1. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2026-4125 advisory.

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)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update golang' or or 'yum update --advisory ALAS2-2026-4125' to update your system.

See Also

https://alas.aws.amazon.com//AL2/ALAS2-2026-4125.html

https://alas.aws.amazon.com/faqs.html

https://explore.alas.aws.amazon.com/CVE-2026-97033.html

https://explore.alas.aws.amazon.com/CVE-2026-97034.html

https://explore.alas.aws.amazon.com/CVE-2026-97035.html

https://explore.alas.aws.amazon.com/CVE-2026-97037.html

https://explore.alas.aws.amazon.com/CVE-2026-97038.html

https://explore.alas.aws.amazon.com/CVE-2026-97039.html

https://explore.alas.aws.amazon.com/CVE-2026-97040.html

https://explore.alas.aws.amazon.com/CVE-2026-97041.html

https://explore.alas.aws.amazon.com/CVE-2026-97042.html

https://explore.alas.aws.amazon.com/CVE-2026-97043.html

https://explore.alas.aws.amazon.com/CVE-2026-97054.html

Plugin Details

Severity: Critical

ID: 382328

File Name: al2_ALAS-2026-4125.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 11/18/2026

Updated: 11/18/2026

Supported Sensors: Continuous Assessment, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.54

CVSS v2

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.3

Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-97033

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS Score Source: CVE-2026-97040

Vulnerability Information

CPE: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:golang-bin, p-cpe:/a:amazon:linux:golang-docs, p-cpe:/a:amazon:linux:golang-misc, p-cpe:/a:amazon:linux:golang-shared, p-cpe:/a:amazon:linux:golang-src, p-cpe:/a:amazon:linux:golang-tests, p-cpe:/a:amazon:linux:golang

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 11/17/2026

Vulnerability Publication Date: 11/11/2026

Reference Information

CVE: CVE-2026-97033, CVE-2026-97034, CVE-2026-97035, CVE-2026-97037, CVE-2026-97038, CVE-2026-97039, CVE-2026-97040, CVE-2026-97041, CVE-2026-97042, CVE-2026-97043, CVE-2026-97054

IAVB: 2026-B-0332