5.1medium
Stack-based buffer overflow in gawk
- Severity
- 5.1medium CVSS:4.0 by CERT-PL
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- CERT-PL
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GNU gawk | up to 5.4.0 | CVE List |
| fossies gawk | up to 5.4.0 | NVD |
All scores
| CERT-PL | 5.1medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:L/SI:L/SA:L |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad de desbordamiento de búfer ha sido encontrada en el archivo de programa ’extension/readdir.c’ de gawk (rutina ftype()). Este problema podría ser usado para colapsar el programa y potencialmente para lograr la ejecución de código, aunque esto último no ha sido confirmado como factible. Afecta a gawk en las versiones 5.4.0 e inferiores.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40553 changed 2026-07-13 | CVE Terms of Use |
| NVD | CVE-2026-40553 changed 2026-10-24 | Public domain |