Description
Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.
Published: 2026-07-13
Score: 2.1 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An integer overflow has been identified in the builtin.c source file of GNU gawk. The overflow can lead to uncontrolled memory consumption on the host operating system and may allow an attacker to overwrite gawk heap metadata and heap objects with attacker‑controlled data. This weakness corresponds to CWE‑190. The vulnerability does not directly provide arbitrary code execution but can destabilize the target system by exhausting memory or corrupting heap structures.

Affected Systems

GNU gawk version 5.4.0 and all earlier releases are vulnerable. Systems that ship gawk 5.4.0 or older – such as many Linux distributions – and custom installations that have not been upgraded beyond that release are at risk.

Risk and Exploitability

The CVSS score of 2.1 classifies this issue as low severity, and an EPSS score of <1 % indicates a very low likelihood of exploitation. The CVE is not present in the CISA KEV catalog. Exploitation requires an attacker to provide crafted input to gawk, feeding the integer overflow to consume memory or overwrite heap structures. No privilege escalation or network‑accessible entry point is described; the attack vector is inferred to be local execution or process‑level interaction with untrusted data.

Generated by OpenCVE AI on July 31, 2026 at 11:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the patch referenced in commit 062f2f2581b991362c046f7f2e238ffa34e6f8c7, which fixes the integer overflow in gawk.
  • Upgrade to a gawk version newer than 5.4.0, which includes the fix.
  • Limit the execution of gawk to trusted users and avoid running it with elevated privileges when processing untrusted input to reduce the risk of exploitation.

Generated by OpenCVE AI on July 31, 2026 at 11:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8588-1 Gawk vulnerabilities
History

Mon, 13 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Gnu
Gnu gawk
Vendors & Products Gnu
Gnu gawk

Mon, 13 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 13 Jul 2026 13:00:00 +0000

Type Values Removed Values Added
Description Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.
Title Heap buffer overflow in gawk
Weaknesses CWE-190
References
Metrics cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: CERT-PL

Published:

Updated: 2026-07-13T13:01:29.711Z

Reserved: 2026-04-13T14:44:55.647Z

Link: CVE-2026-40468

cve-icon Vulnrichment

Updated: 2026-07-13T13:01:26.495Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T11:45:13Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound