
CVE catalog
CVE-2026-40469
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.
- Severity
- Medium · CVSS 5.1
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/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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.21% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | gawk | sid | 1:5.3.2-1 | vulnerable |
| Debian | gawk | forky | 1:5.3.2-1 | vulnerable |
| Debian | gawk | trixie | 1:5.2.1-2 | vulnerable |
| Debian | gawk | bookworm | 1:5.2.1-2 | vulnerable |
| Cpe | gawk | Not reported | Not reported | vulnerable |
| Ubuntu | gawk | noble | 1:5.2.1-2ubuntu0.1 | fixed |
| Ubuntu | gawk | pro | 1:4.2.1+dfsg-1.1build1 | vulnerable |
| Ubuntu | gawk | pro | 1:5.0.1+dfsg-1 | vulnerable |
| Ubuntu | gawk | pro | 1:5.0.1+dfsg-1ubuntu0.1 | vulnerable |
| Ubuntu | gawk | pro | 1:5.0.1+dfsg-1ubuntu0.1+esm1 | fixed |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1build1 | vulnerable |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1build2 | vulnerable |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1build3 | vulnerable |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1ubuntu0.1 | vulnerable |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1ubuntu0.2 | fixed |
| Ubuntu | gawk | 24.04 | 1:5.2.1-2 | vulnerable |
| Ubuntu | gawk | 24.04 | 1:5.2.1-2build2 | vulnerable |
| Ubuntu | gawk | 24.04 | 1:5.2.1-2build3 | vulnerable |
| Ubuntu | gawk | 24.04 | 1:5.2.1-2ubuntu0.1 | fixed |
| Ubuntu | gawk | 26.04 | 1:5.3.2-1build1 | vulnerable |
| Ubuntu | gawk | 26.04 | 1:5.3.2-1ubuntu1 | vulnerable |
| Ubuntu | gawk | 26.04 | 1:5.3.2-1ubuntu1.1 | fixed |
| Cpe | gawk | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | gawk | source | sid | (unfixed) | not yet assigned | Not reported | [1142071] |
| Debian | gawk | source | forky | (unfixed) | not yet assigned | Not reported | [1142071] |
| Debian | gawk | source | trixie | (unfixed) | not yet assigned | Not reported | [1142071] |
| Debian | gawk | source | bookworm | (unfixed) | not yet assigned | Not reported | [1142071] |
| Ubuntu | gawk | deb | noble | 1:5.2.1-2ubuntu0.1 | Not reported | Not reported | Not reported |
| Ubuntu | gawk | deb | pro | 1:5.0.1+dfsg-1ubuntu0.1+esm1 | Not reported | UBUNTU-CVE-2026-40469 | Not reported |
| Ubuntu | gawk | deb | 22.04 | 1:5.1.0-1ubuntu0.2 | Not reported | UBUNTU-CVE-2026-40469 | Not reported |
| Ubuntu | gawk | deb | 24.04 | 1:5.2.1-2ubuntu0.1 | Not reported | UBUNTU-CVE-2026-40469 | Not reported |
| Ubuntu | gawk | deb | 26.04 | 1:5.3.2-1ubuntu1.1 | Not reported | UBUNTU-CVE-2026-40469 | Not reported |
Notes
[trixie] gawk: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [gawk]Affected
Details (2)
1:5.2.1-2· amd64 · bookwormAffected
nvd · gawk · debian · bookworm; nvd · gawk · debian · 12
1:5.2.1-2· arm64 · bookwormAffected
nvd · gawk · debian · bookworm; nvd · gawk · debian · 12
[Debian 13 (Trixie)]
Observed:
References
- [https://cert.pl/en/posts/2026/07/CVE-2026-40467]
- [https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=ae1b2d508f46913269a9e62aceda3636afe8147b]
- [https://ftp.suse.com/pub/projects/security/]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-40469]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-40469]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-40469]
- [https://security-tracker.debian.org/tracker/CVE-2026-40469]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40469.json]
- [https://ubuntu.com/security/notices/USN-8588-1]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]