5.1Medium
CVE-2026-40553Stack-based buffer overflow in gawk
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.
Weakness (CWE):
CWE-121
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=cca0366144336b49aaa7d5d949966ce8e2c70843 patchPatch
- https://cert.pl/en/posts/2026/07/CVE-2026-40467 third-party-advisoryThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:fossies:gawk:*:*:*:*:*:*:*:*≤ 5.4.0