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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GNU | gawk | ≤ 5.4.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gawk | No fix yet | — |
| Debian 13 | gawk | No fix yet | — |
| Debian 12 | gawk | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | gawk | 1:5.3.2-1ubuntu1.1 | USN-8588-1 |
| Ubuntu 24.04 LTS | gawk | 1:5.2.1-2ubuntu0.1 | USN-8588-1 |
| Ubuntu 22.04 LTS | gawk | 1:5.1.0-1ubuntu0.2 | USN-8588-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | gawk | 1:5.0.1+dfsg-1ubuntu0.1+esm1 | USN-8588-1 |
| Ubuntu Pro 18.04 LTS | gawk | 1:4.1.4+dfsg-1ubuntu0.1~esm2 | USN-8588-1 |
| Ubuntu Pro 16.04 LTS | gawk | 1:4.1.3+dfsg-0.1ubuntu0.1~esm2 | USN-8588-1 |
| Ubuntu Pro 14.04 LTS | gawk | 1:4.0.1+dfsg-2.1ubuntu2+esm2 | USN-8588-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | gawk +3 | 5.4.0-3.1.hum1 | RHSA-2026:49661, RHSA-2026:40041 |
Advisories 3
- RHSA-2026:49661 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2026:40041 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- USN-8588-1 gawk vulnerabilities Ubuntu Security Notices (USN) · Jul 23, 2026