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.
Problem types
CWE-121 Stack-based Buffer Overflow
Product status
Any version
Credits
Michał Majchrowicz (AFINE)
Marcin Wyczechowski (AFINE)
References
cgit.git.savannah.gnu.org/...4336b49aaa7d5d949966ce8e2c70843
cert.pl/en/posts/2026/07/CVE-2026-40467