CVE-2026-40467
gawk: gawk: Denial of Service due to Use After Free vulnerability in io.c
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. A Use After Free vulnerability exists in the do_getline_redir() routine within the io.c program file. This vulnerability can be triggered by an attacker, potentially leading to a system crash and causing a Denial of Service (DoS).
Statement
Moderate: A Use After Free vulnerability in gawk's do_getline_redir() routine can lead to a denial of service. This flaw, affecting gawk in Red Hat Hardened Images, requires a local attacker with low privileges to trick a user into interacting with specially crafted input, limiting its immediate impact.
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
To mitigate this issue, users should avoid processing untrusted or maliciously crafted input with gawk. Exercise caution when executing gawk scripts or commands that process data from unknown or unverified sources.
CVSS / CWE
CVSS 3.1 · 4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CWE-825 · Expired Pointer Dereference