Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40467: CWE-416 Use After Free in GNU gawk

0
Medium
VulnerabilityCVE-2026-40467cvecve-2026-40467cwe-416
Published: 07/13/2026 (07/13/2026, 12:07:52 UTC)
Source: CVE Database V5
Vendor/Project: GNU
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected software

debian/gawk
pkg:deb/debian/gawk
Affected versions
<5.4.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/13/2026, 13:18:01 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses