Vulnerability · Published Jul 13, 2026 · Assigned by CERT-PL
CVE-2026-40468Heap buffer overflow in gawk
Low 2.1
In plain English
A low-severity integer overflow in gawk from GNU. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 4.0)2.1Low
Exploit odds (30 days)0.2%top 90.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | gawk | 5.3.0-6.el10_2.1 | ALSA-2026:73429 |
| AlmaLinux:8 | gawk | 4.2.1-5.el8_10 | ALSA-2026:73511 |
| AlmaLinux:9 | gawk | 5.1.0-6.el9_8.1 | ALSA-2026:73512 |
| AlmaLinux:10 | gawk-all-langpacks | 5.3.0-6.el10_2.1 | ALSA-2026:73429 |
| AlmaLinux:9 | gawk-all-langpacks | 5.1.0-6.el9_8.1 | ALSA-2026:73512 |
| Debian:12 | gawk | no fix listed | DEBIAN-CVE-2026-40468 |
| Debian:13 | gawk | no fix listed | DEBIAN-CVE-2026-40468 |
| Debian:14 | gawk | no fix listed | DEBIAN-CVE-2026-40468 |
| Rocky Linux:10 | gawk | 0:5.3.0-6.el10_2.1 | RLSA-2026:73429 |
| Rocky Linux:8 | gawk | 0:4.2.1-5.el8_10 | RLSA-2026:73511 |
| Rocky Linux:9 | gawk | 0:5.1.0-6.el9_8.1 | RLSA-2026:73512 |
| Ubuntu:22.04:LTS | gawk | 1:5.1.0-1ubuntu0.2 | USN-8588-1 |
| Ubuntu:22.04:LTS | gawk | 1:5.1.0-1ubuntu0.2 | UBUNTU-CVE-2026-40468 |
| Ubuntu:24.04:LTS | gawk | 1:5.2.1-2ubuntu0.1 | USN-8588-1 |
| Ubuntu:24.04:LTS | gawk | 1:5.2.1-2ubuntu0.1 | UBUNTU-CVE-2026-40468 |
| Ubuntu:26.04:LTS | gawk | 1:5.3.2-1ubuntu1.1 | UBUNTU-CVE-2026-40468 |
| Ubuntu:26.04:LTS | gawk | 1:5.3.2-1ubuntu1.1 | USN-8588-1 |
Affected products (as reported)
Weakness: CWE-190 · 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