# CVE-2026-40469: Heap buffer overflow in gawk

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-13 · Modified: 2026-07-13
- Aliases: UBUNTU-CVE-2026-40469, DEBIAN-CVE-2026-40469
- Record: https://cvemate.com/vulnerability/CVE-2026-40469 · JSON: https://cvemate.com/vulnerability/CVE-2026-40469/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS: 0.213%, percentile 12.355%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian gawk (Debian): All versions (No fix recorded)
- ubuntu gawk (Ubuntu): \< 1:4.0.1+dfsg-2.1ubuntu2+esm2 \| \< 1:4.1.3+dfsg-0.1ubuntu0.1~esm2 \| \< 1:4.1.4+dfsg-1ubuntu0.1~esm2 \| \< 1:5.0.1+dfsg-1ubuntu0.1+esm1 \| \< 1:5.1.0-1ubuntu0.2 \| \< 1:5.2.1-2ubuntu0.1 \| \< 1:5.3.2-1ubuntu1.1
- fossies gawk: ≤ 5.4.0
- gnu gawk: ≤ 5.4.0

## References

- <https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=ae1b2d508f46913269a9e62aceda3636afe8147b>
- <https://cert.pl/en/posts/2026/07/CVE-2026-40467>
- <https://ubuntu.com/security/CVE-2026-40469>
- <https://www.cve.org/CVERecord?id=CVE-2026-40469>
- <https://ubuntu.com/security/notices/USN-8588-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-40469>

---

Data as of 2026-12-05T03:12:12.810Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
