CVE-2026-40468
gawk: gawk: Memory corruption via integer overflow
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 13, 2026
Updated · October 30, 2026
Description
A flaw was found in gawk. An integer overflow vulnerability could allow a local attacker to cause memory exhaustion, leading to a denial of service. This flaw may also enable an attacker to corrupt gawk's internal memory, potentially leading to system instability.
Statement
Moderate: An integer overflow vulnerability in gawk's builtin.c could allow a local attacker to cause memory exhaustion and overwrite heap metadata. This could lead to system instability or a denial of service on affected Red Hat products, requiring local access to execute a malicious gawk script.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Do not execute untrusted awk scripts or process untrusted inputs that could trigger oversized calculations in builtin.c.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
CWE-190 · Integer Overflow or Wraparound