CVE-2026-40467: Use After Free vulnerability has been found in "io.c" program file of gawk (do_getline_redir() routine)
CVE-2026-40467 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.
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.
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.2% (top 89%) |
| CISA exploited list | No |
| Weakness | CWE-416 |
| 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-40467?
gawk: upgrade to newer than 5.4.0. Exact commands for each OS are on this page.
Is CVE-2026-40467 being exploited?
CVE-2026-40467 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-40467 affect?
CVE-2026-40467 affects gawk. Severity is high (CVSS 7.5). 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.
How urgent is CVE-2026-40467?
Priority 34/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-40553 HIGH 7.5 UPGRADE Buffer overflow vulnerability has been found in "extension/readdir.c" program file of gawk (ftype() routine)