CVE-2026-40553: Buffer overflow vulnerability has been found in "extension/readdir.c" program file of gawk (ftype() routine)
CVE-2026-40553 is a high-severity flaw (CVSS 7.5) affecting gawk. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 79%) |
| CISA exploited list | No |
| Weakness | CWE-121 |
| Published | 2026-07-13 |
| Last modified | 2026-10-24 |
Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Official advisories
- CERT Polska: Vulnerabilities in GNU gawk software 2026-07-13
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40553?
gawk: upgrade to newer than 5.4.0. Exact commands for each OS are on this page.
Is CVE-2026-40553 being exploited?
CVE-2026-40553 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40553 affect?
CVE-2026-40553 affects gawk. Severity is high (CVSS 7.5). 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 confirme
How urgent is CVE-2026-40553?
Priority 36/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-40469 CRITICAL 9.1 UPGRADE Integer overflow vulnerability has been found in "builtin.c" program file of gawk (do_sub() routine)
- CVE-2026-40468 CRITICAL 9.1 UPGRADE Integer overflow vulnerability has been found in "builtin.c" program file of gawk
- CVE-2026-40467 HIGH 7.5 UPGRADE Use After Free vulnerability has been found in "io.c" program file of gawk (do_getline_redir() routine)