CVE-2026-40468: Integer Overflow and Heap Corruption in GNU gawk
- Vendor
- Fossies
CVE-2026-40468 is an integer overflow vulnerability in GNU gawk versions 5.4.0 and earlier. The flaw affects built-in processing code and may cause memory exhaustion on the hosting operating system or allow attacker-controlled bytes to overwrite gawk heap metadata and objects. The specific vulnerable function and triggering input are not established.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation may exhaust host operating-system memory, disrupting gawk and potentially other workloads, and may corrupt gawk heap metadata and objects with attacker-controlled bytes. Arbitrary code execution, privilege escalation, and information disclosure have not been established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Until patched packages are deployed, restrict execution of gawk against untrusted or attacker-controlled input, apply resource limits to processes that invoke gawk, and limit access to services or workflows that can process untrusted data using gawk.
Remediation
Patch, then assume compromise.
Install the distribution's security-updated gawk packages, including applicable vendor-backported fixes. Relevant updates include RHSA-2026:73511 for Red Hat Enterprise Linux 8, ALINUX3-SA-2026:0322 for Alibaba Cloud Linux 3, and UTSA-2026-126727 for Unity Linux 20. For other distributions or bundled deployments, apply the corresponding vendor security release. A specific fixed upstream gawk version is not established.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-40468 exploited in the wild?
- As of Nov 7, 2026, Mallory has no reports of CVE-2026-40468 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-40468?
- As of Nov 7, 2026, Mallory has found no public exploit for CVE-2026-40468.
- Is there a patch for CVE-2026-40468?
- Install the distribution's security-updated gawk packages, including applicable vendor-backported fixes. Relevant updates include RHSA-2026:73511 for Red Hat Enterprise Linux 8, ALINUX3-SA-2026:0322 for Alibaba Cloud Linux 3, and UTSA-2026-126727 for Unity Linux 20.
- What products are affected by CVE-2026-40468?
- Fossies Gawk.
- How severe is CVE-2026-40468?
- CVE-2026-40468 has a CVSS v4 score of 2.1 (Low) and an EPSS score of 0.20% (10th percentile) as of Nov 7, 2026.
Recent activity
58 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.