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.3%top 79%

Buffer overflow vulnerability has been found in "extension/readdir.c" program file of gawk (ftype() routine).

0
Medium
Published: 07/13/2026 (07/13/2026, 13:16:00 UTC)
Source: GCVE Database
Product: gawk

Description

Buffer overflow vulnerability has been found in "extension/readdir.c" program file of gawk (ftype() routine). This issue could be used to crash the program and potentially to achieve code execution, although the latter has not been confirmed to be feasible. 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
Low
Vuln. Availability
Low
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
Low
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:L/SI:L/SA:L

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:18:49 UTC

Technical Analysis

The vulnerability is a buffer overflow in the ftype() routine within the extension/readdir.c source file of gawk. It affects gawk versions 5.4.0 and earlier. The issue can lead to program crashes and might allow code execution, but this latter impact is not confirmed. The affected versions are specific Ubuntu package builds of gawk ranging from 4.0.1 up to 5.3.2 as listed. There is no indication of known exploits in the wild or an official patch provided in the data. The CVSS 4.0 vector indicates a local attack vector with low complexity and no privileges or user interaction required, but with limited impact.

Potential Impact

The vulnerability can cause gawk to crash due to a buffer overflow. Potential code execution is noted but not confirmed. No known active exploitation has been reported. The impact is primarily denial of service with a possible but unconfirmed elevation to code execution.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch or official fix information is provided, users should monitor for updates from Ubuntu or gawk maintainers. Until a fix is available, avoid processing untrusted input with vulnerable gawk versions to reduce risk.

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-40553
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: 6a58b4c668715ace43daac2f

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

Last enriched: 07/16/2026, 13:18:49 UTC

Last updated: 07/31/2026, 19:24:46 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