CVE-2026-40467: CWE-416 Use After Free in GNU gawk
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.
AI Analysis
Technical Summary
CVE-2026-40467 is a Use After Free vulnerability identified in the do_getline_redir() function within the io.c source file of GNU gawk. This vulnerability affects all gawk versions prior to 5.4.1. Exploitation of this flaw may result in a program crash. The CVSS 4.0 base score is 5.1, indicating a medium severity level. There is no vendor advisory or patch available at this time, and no known exploits have been reported in the wild.
Potential Impact
The vulnerability can lead to a crash of the gawk process, potentially causing denial of service. There is no indication of privilege escalation, data corruption, or remote code execution from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider avoiding untrusted input that triggers the vulnerable code path or use alternative tools if feasible.
CVE-2026-40467: CWE-416 Use After Free in GNU gawk
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 v4.0
Score 5.1medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40467 is a Use After Free vulnerability identified in the do_getline_redir() function within the io.c source file of GNU gawk. This vulnerability affects all gawk versions prior to 5.4.1. Exploitation of this flaw may result in a program crash. The CVSS 4.0 base score is 5.1, indicating a medium severity level. There is no vendor advisory or patch available at this time, and no known exploits have been reported in the wild.
Potential Impact
The vulnerability can lead to a crash of the gawk process, potentially causing denial of service. There is no indication of privilege escalation, data corruption, or remote code execution from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider avoiding untrusted input that triggers the vulnerable code path or use alternative tools if feasible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CERT-PL
- Date Reserved
- 2026-04-13T14:44:55.647Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a54e21068715ace4303d40e
Added to database: 07/13/2026, 13:03:12 UTC
Last enriched: 07/13/2026, 13:18:01 UTC
Last updated: 07/13/2026, 13:57:50 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.