Back to CVE catalog
CVE-2026-40468

Integer overflow in gawk leading to memory exhaustion

GNU gawk

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityLow
AvailabilityLow

CVSS summary v4.0

2.1Low
Published:
Updated:
EPSS:
0.201%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:GNUgawkAffected versions:
≤ 5.4.0
Vendor:Red HatRed Hat Cost Management On-Premise 1Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 6Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 7Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux AppStream (v. 10)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux AppStream (v. 9)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux BaseOS (v. 10)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux BaseOS (v. 8)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux BaseOS (v. 9)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Hardened ImagesAffected versions:Source does not specify a version range

1–10 of 45 · Page 1 of 5

CVSS scores and metrics6
CERT-PL · CVE List / CNA (cna)Primary2.1 / 10LowCVSS 4.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Low
Availability
Low
Attack vector
Local
Privileges required
Not required
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
Low

Source 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
[email protected] · NVD (Secondary)2.1 / 10LowCVSS 4.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Low
Availability
Low
Attack vector
Local
Privileges required
Not required
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
Low

Source 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE-2026-40468 · OSV (source-vector)2.1 / 10LowCVSS 4.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Low
Availability
Low
Attack vector
Local
Privileges required
Not required
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
Low

Source 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
[email protected] · NVD (Primary)9.1 / 10CriticalCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Red Hat · Red Hat VEX (adp)4.4 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
Low
Availability
Low
Attack vector
Local
Privileges required
Not required
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
SUSE · SUSE VEX (adp)4.0 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Low
Attack vector
Local
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories10

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences