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…
EPSS 0.2%top 88%

Use After Free vulnerability has been found in "io.c" program file of gawk (do_getline_redir() routine).

0
Medium
Published: 07/13/2026 (07/13/2026, 13:16:00 UTC)
Source: GCVE Database
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

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

Ubuntu:Pro:14.04:LTSmore threats →ghsa
gawk
pkg:deb/ubuntu/gawk@1:4.0.1+dfsg-2.1ubuntu2+esm1?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=1:4.0.1+dfsg-2.1ubuntu2=1:4.0.1+dfsg-2.1ubuntu2+esm1
Ubuntu:Pro:16.04:LTSmore threats →ghsa
gawk
pkg:deb/ubuntu/gawk@1:4.1.3+dfsg-0.1ubuntu0.1~esm1?arch=source&distro=esm-infra/xenial
Affected versions
=1:4.1.1+dfsg-1=1:4.1.3+dfsg-0.1=1:4.1.3+dfsg-0.1ubuntu0.1~esm1
Ubuntu:Pro:18.04:LTSmore threats →ghsa
gawk
pkg:deb/ubuntu/gawk@1:4.1.4+dfsg-1ubuntu0.1~esm1?arch=source&distro=esm-infra/bionic
Affected versions
=1:4.1.4+dfsg-1=1:4.1.4+dfsg-1build1=1:4.1.4+dfsg-1ubuntu0.1~esm1
Ubuntu:20.04:LTSmore threats →ghsa
gawk
pkg:deb/ubuntu/gawk@1:5.0.1+dfsg-1ubuntu0.1?arch=source&distro=focal
Affected versions
=1:4.2.1+dfsg-1.1build1=1:5.0.1+dfsg-1=1:5.0.1+dfsg-1ubuntu0.1
Ubuntu:22.04:LTSmore threats →ghsa
gawk
pkg:deb/ubuntu/gawk@1:5.1.0-1ubuntu0.1?arch=source&distro=jammy
Affected versions
=1:5.1.0-1build1=1:5.1.0-1build2=1:5.1.0-1build3=1:5.1.0-1ubuntu0.1
Ubuntu:24.04:LTSmore threats →ghsa
gawk
pkg:deb/ubuntu/gawk@1:5.2.1-2build3?arch=source&distro=noble
Affected versions
=1:5.2.1-2=1:5.2.1-2build2=1:5.2.1-2build3
Ubuntu:26.04:LTSmore threats →ghsa
gawk
pkg:deb/ubuntu/gawk@1:5.3.2-1ubuntu1?arch=source&distro=resolute
Affected versions
=1:5.3.2-1build1=1:5.3.2-1ubuntu1

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/16/2026, 13:19:25 UTC

Technical Analysis

The vulnerability is a Use After Free issue located in the do_getline_redir() function within the io.c source file of gawk. This flaw can lead to a program crash when exploited. The affected versions include gawk 5.4.0 and earlier, specifically multiple Ubuntu package versions listed. There is no indication of privilege requirements or user interaction needed for the vulnerability to manifest. No known exploits are reported in the wild. The CVSS vector indicates a low complexity local attack with no privileges or user interaction required, but the impact is limited to a crash.

Potential Impact

The primary impact is a potential crash of the gawk process due to the Use After Free vulnerability. There is no evidence from the provided data that this vulnerability leads to code execution, privilege escalation, or data disclosure. The impact is therefore limited to denial of service conditions affecting the affected gawk versions.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Users should monitor Ubuntu security advisories for updates addressing this vulnerability and apply patches once available.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-40467
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
4.0

Threat ID: 6a58b4c668715ace43daac3b

Added to database: 07/16/2026, 10:39:02 UTC

Last enriched: 07/16/2026, 13:19:25 UTC

Last updated: 07/31/2026, 19:24:46 UTC

Views: 3

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