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%

Integer overflow vulnerability has been found in "builtin.c" program file of gawk (do_sub() routine).

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

Description

Integer overflow vulnerability has been found in "builtin.c" program file of gawk (do_sub() routine). This issue could be used to overwrite gawk heap metadata and objects causing the program to crash. It affects 32-bit builds of 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:18:59 UTC

Technical Analysis

The vulnerability is an integer overflow in the do_sub() routine of the builtin.c source file in gawk. This overflow can corrupt heap metadata and objects, resulting in a program crash. The issue specifically affects 32-bit builds of gawk versions 5.4.0 and earlier. The vulnerability does not require user interaction or privileges and has a low attack vector (local).

Potential Impact

Successful exploitation can cause the gawk program to crash due to heap corruption. There is no indication of code execution or privilege escalation. The impact is limited to denial of service via application crash.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch links or official fixes are provided, users should monitor Ubuntu security advisories for updates addressing this issue. Until a patch is available, avoid running vulnerable 32-bit gawk builds in untrusted environments.

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-40469
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: 6a58b4c668715ace43daac33

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

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

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

Views: 5

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