Amazon Linux 2023 : gawk, gawk-all-langpacks, gawk-devel (ALAS2023-2026-2035)

medium Nessus Plugin ID 332012

Synopsis

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

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2023-2026-2035 advisory.

Use After Free vulnerability has been found in io.c program file of gawk (do_getline_redir() routine).
This issue may lead to a crash. It affects gawk in versions 5.4.0 and below. (CVE-2026-40467)

Integer overflow vulnerability has been found in builtin.c program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below. (CVE-2026-40468)

Buffer overflow vulnerability has been found in extension/readdir.c program file of gawk (ftype() routine). This issue could be used to crash the program and potentially to achieve code execution, although the latter has not been confirmed to be feasible. It affects gawk in versions 5.4.0 and below.
(CVE-2026-40553)

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 'dnf update gawk --releasever 2023.12.20260803' or or 'dnf update --advisory ALAS2023-2026-2035 --releasever 2023.12.20260803' to update your system.

See Also

https://alas.aws.amazon.com//AL2023/ALAS2023-2026-2035.html

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

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

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

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

Plugin Details

Severity: Medium

ID: 332012

File Name: al2023_ALAS2023-2026-2035.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 8/4/2026

Updated: 8/4/2026

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.6

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

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

CVSS Score Source: CVE-2026-40468

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.1

Threat Score: 1.2

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:L/SI:L/SA:L

CVSS Score Source: CVE-2026-40553

Vulnerability Information

CPE: cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:gawk-all-langpacks, p-cpe:/a:amazon:linux:gawk-debuginfo, p-cpe:/a:amazon:linux:gawk-debugsource, p-cpe:/a:amazon:linux:gawk-devel, p-cpe:/a:amazon:linux:gawk-doc, p-cpe:/a:amazon:linux:gawk

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/4/2026

Vulnerability Publication Date: 7/13/2026

Reference Information

CVE: CVE-2026-40467, CVE-2026-40468, CVE-2026-40553