CVE-2026-40553: Stack-based buffer overflow in gawk
Vulnerability summary
CVE-2026-40553 is a high (CVSS 7.5) Stack-based Buffer Overflow vulnerability in fossies gawk. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 23.2% 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 11 · Related 6Timeline
- 13-07-2026PublishedVulnerability first disclosed.
- 13-07-2026Last modifiedVulnerability information updated.
Description
Buffer overflow vulnerability has been found in "extension/readdir.c" program file of gawk (ftype() routine). This issue could be used to crash the program and potentially to achieve code execution, although the latter has not been confirmed to be feasible. 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:L/VA:L/SC:L/SI:L/SA:L
- NVDNIST5.1MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:L/SI:L/SA:L/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.29%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.29% 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:5.3.2-1ubuntu1.1
4 vendors · 4 products
References
7 links- cert.pl/en/posts/2026/07/CVE-2026-40467Third Party Advisory