CVE-2026-40467: Use after free in gawk
Vulnerability summary
CVE-2026-40467 is a high (CVSS 7.5) Use After Free vulnerability in fossies gawk. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 12.3% of scored vulnerabilities.
Not severe (CVSS 5.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 6Timeline
- 13-07-2026PublishedVulnerability first disclosed.
- 13-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- NVDNIST5.1MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- gawkAll versions (No fix recorded)
Fossies1 product
- gawk≤ 5.4.0
Gnu1 product
- gawk≤ 5.4.0
Ubuntu1 product
- gawk< 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 | < 1:5.0.1+dfsg-1ubuntu0.1+esm1 | < 1:5.1.0-1ubuntu0.2 | < 1:5.2.1-2ubuntu0.1 | < 1:5.3.2-1ubuntu1.1
4 vendors · 4 products
References
7 links- cert.pl/en/posts/2026/07/CVE-2026-40467Third Party Advisory