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

- Priority: **Routine**
- Reason: Not severe (CVSS 2.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: SUSE-SU-2026:3211-1, UBUNTU-CVE-2026-40468, DEBIAN-CVE-2026-40468
- Record: https://cvemate.com/vulnerability/CVE-2026-40468 · JSON: https://cvemate.com/vulnerability/CVE-2026-40468/json

## Description

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

## 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.201%, percentile 10.514%, 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
- suse gawk&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 (SUSE Linux Enterprise): \< 4.1.0-5.6.1

## References

- <https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=062f2f2581b991362c046f7f2e238ffa34e6f8c7>
- <https://cert.pl/en/posts/2026/07/CVE-2026-40467>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20263211-1/>
- <https://bugzilla.suse.com/1271352>
- <https://www.suse.com/security/cve/CVE-2026-40468>
- <https://ubuntu.com/security/CVE-2026-40468>
- <https://www.cve.org/CVERecord?id=CVE-2026-40468>
- <https://ubuntu.com/security/notices/USN-8588-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-40468>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40468>

---

Data as of 2026-12-05T03:10:31.502Z. 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
