Skip to main content
VulnerabilityPublished

CVE-2026-40469: gawk · Integer Overflow Vulnerability Has Been Found

Affects gawkSource GCVE Database

0
Authoritative record:CVE-2026-40469· Medium 5.1

Not known to be exploited · CVSS 5.1 Medium.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSgawkpkg:deb/ubuntu/gawk@1:5.3.2-1ubuntu1?arch=source&distro=resoluteOther threatsAffected
  • =1:5.3.2-1build1
  • =1:5.3.2-1ubuntu1
Fixed in–
Ubuntu 24.04 LTSgawkpkg:deb/ubuntu/gawk@1:5.2.1-2build3?arch=source&distro=nobleOther threatsAffected
  • =1:5.2.1-2
  • =1:5.2.1-2build2
  • =1:5.2.1-2build3
Fixed in–
Ubuntu 22.04 LTSgawkpkg:deb/ubuntu/gawk@1:5.1.0-1ubuntu0.1?arch=source&distro=jammyOther threatsAffected
  • 1:5.1.0-1build1 – 1:5.1.0-1ubuntu0.1
4 affected builds
Fixed in–
Ubuntu 20.04 LTSgawkpkg:deb/ubuntu/gawk@1:5.0.1+dfsg-1ubuntu0.1?arch=source&distro=focalOther threatsAffected
  • =1:4.2.1+dfsg-1.1build1
  • =1:5.0.1+dfsg-1
  • =1:5.0.1+dfsg-1ubuntu0.1
Fixed in–
Ubuntu Pro 18.04 LTSgawkpkg:deb/ubuntu/gawk@1:4.1.4+dfsg-1ubuntu0.1~esm1?arch=source&distro=esm-infra/bionicOther threatsAffected
  • =1:4.1.4+dfsg-1
  • =1:4.1.4+dfsg-1build1
  • =1:4.1.4+dfsg-1ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 16.04 LTSgawkpkg:deb/ubuntu/gawk@1:4.1.3+dfsg-0.1ubuntu0.1~esm1?arch=source&distro=esm-infra/xenialOther threatsAffected
  • =1:4.1.1+dfsg-1
  • =1:4.1.3+dfsg-0.1
  • =1:4.1.3+dfsg-0.1ubuntu0.1~esm1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until an official fix is available, users should consider avoiding use of vulnerable 32-bit gawk builds or apply any vendor-provided workarounds once published.

Description

An integer overflow vulnerability exists in the do_sub() routine of the builtin.c file in gawk, affecting 32-bit builds of gawk version 5.4.0 and below. This flaw can lead to heap metadata and object overwrites, causing the program to crash. The issue impacts multiple specific gawk package builds primarily found in Ubuntu distributions. No known exploits are reported in the wild, and the severity is assessed as medium.

References

Community reviews

Loading reviews…