
CVE catalog
CVE-2026-40553
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, a
- Severity
- Medium · CVSS 6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.29% · Oct 25, 2026
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.
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 | 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 | 26.04 | 1:5.3.2-1ubuntu1.1 | Not reported | UBUNTU-CVE-2026-40553 | 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=cca0366144336b49aaa7d5d949966ce8e2c70843]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_22767-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-40553]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-40553]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-40553]
- [https://security-tracker.debian.org/tracker/CVE-2026-40553]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40553.json]
- [https://ubuntu.com/security/notices/USN-8588-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3649.json]
[CERT-Bund public advisories] · [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)]