Skip to main content
VulnerabilityPublished Updated

CVE-2026-40467: Use After Free vulnerability has been found in "io.c" program file of gawk (do_getline_redir() routine)

Affects gawkSource GCVE Database

0

Mentioned vulnerabilities

Authoritative record:CVE-2026-40467· Medium 5.1

Not known to be exploited · CVSS 5.1 Medium · fixed in 1:4.0.1+dfsg-2.1ubuntu2+esm2 : update gawk when convenient.

Data as of 26 Oct 2026, 17:16 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.
Patch
Available – fixed in 1:4.0.1+dfsg-2.1ubuntu2+esm2, 1:4.1.3+dfsg-0.1ubuntu0.1~esm2, 1:4.1.4+dfsg-1ubuntu0.1~esm2 +4
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

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSgawkpkg:deb/ubuntu/gawk?arch=source&distro=resoluteOther threatsAffected
  • <1:5.3.2-1ubuntu1.1
Fixed in
  • 1:5.3.2-1ubuntu1.1
Ubuntu 24.04 LTSgawkpkg:deb/ubuntu/gawk?arch=source&distro=nobleOther threatsAffected
  • <1:5.2.1-2ubuntu0.1
Fixed in
  • 1:5.2.1-2ubuntu0.1
Ubuntu 22.04 LTSgawkpkg:deb/ubuntu/gawk?arch=source&distro=jammyOther threatsAffected
  • <1:5.1.0-1ubuntu0.2
Fixed in
  • 1:5.1.0-1ubuntu0.2
Ubuntu Pro 20.04 LTSgawkpkg:deb/ubuntu/gawk?arch=source&distro=esm-infra/focalOther threatsAffected
  • <1:5.0.1+dfsg-1ubuntu0.1+esm1
Fixed in
  • 1:5.0.1+dfsg-1ubuntu0.1+esm1
Ubuntu Pro 18.04 LTSgawkpkg:deb/ubuntu/gawk?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <1:4.1.4+dfsg-1ubuntu0.1~esm2
Fixed in
  • 1:4.1.4+dfsg-1ubuntu0.1~esm2
Ubuntu Pro 16.04 LTSgawkpkg:deb/ubuntu/gawk?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • <1:4.1.3+dfsg-0.1ubuntu0.1~esm2
Fixed in
  • 1:4.1.3+dfsg-0.1ubuntu0.1~esm2

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

Description

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.

References

Community reviews

Loading reviews…