CVE-2026-40467: Use after free in gawk
Last updated 16 July 2026
Other sources
Use After Free vulnerability has been found in "io.c" program file of gawk (dogetlineredir() routine). This issue may lead to a crash. It affects gawk in versions 5.4.0 and below.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.2.2-2 - Upgrade
Upgrade
ubuntu/gawkto a version that resolves this vulnerability.Fixed in 1:4.0.1+dfsg-2.1ubuntu2+esm2 - Upgrade
Upgrade
ubuntu/gawkto a version that resolves this vulnerability.Fixed in 1:4.1.3+dfsg-0.1ubuntu0.1~esm2 - Upgrade
Upgrade
ubuntu/gawkto a version that resolves this vulnerability.Fixed in 1:4.1.4+dfsg-1ubuntu0.1~esm2 - Upgrade
Upgrade
ubuntu/gawkto a version that resolves this vulnerability.Fixed in 1:5.0.1+dfsg-1ubuntu0.1+esm1 - Upgrade
Upgrade
ubuntu/gawkto a version that resolves this vulnerability.Fixed in 1:5.1.0-1ubuntu0.2 - Upgrade
Upgrade
ubuntu/gawkto a version that resolves this vulnerability.Fixed in 1:5.2.1-2ubuntu0.1 - Upgrade
Upgrade
ubuntu/gawkto a version that resolves this vulnerability.Fixed in 1:5.3.2-1ubuntu1.1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-40467?
CVE-2026-40467 has a risk rating of 15, indicating a high severity level.
How do I fix CVE-2026-40467?
To fix CVE-2026-40467, upgrade gawk to version 5.4.1 or later.
Which versions of gawk are affected by CVE-2026-40467?
CVE-2026-40467 affects gawk versions 5.4.0 and below.
What type of vulnerability is CVE-2026-40467?
CVE-2026-40467 is classified as a Use After Free vulnerability.
What impact does CVE-2026-40467 have on gawk?
CVE-2026-40467 may lead to a crash of the gawk application.