# CVE-2026-40553: Stack-based 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-40553, DEBIAN-CVE-2026-40553
- Record: https://cvemate.com/vulnerability/CVE-2026-40553 · JSON: https://cvemate.com/vulnerability/CVE-2026-40553/json

## Description

```text
Buffer overflow vulnerability has been found in "extension/readdir.c" program file of gawk (ftype() routine). This issue could be used to crash the program and potentially to achieve code execution, although the latter has not been confirmed to be feasible. It affects gawk in versions 5.4.0 and below.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.291%, percentile 23.2%, 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: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=cca0366144336b49aaa7d5d949966ce8e2c70843>
- <https://cert.pl/en/posts/2026/07/CVE-2026-40467>
- <https://ubuntu.com/security/CVE-2026-40553>
- <https://www.cve.org/CVERecord?id=CVE-2026-40553>
- <https://ubuntu.com/security/notices/USN-8588-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-40553>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40553>

---

Data as of 2026-12-05T08:54:47.898Z. 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
