Description
Integer overflow vulnerability has been found in "builtin.c" program file of gawk (do_sub() routine). This issue could be used to overwrite gawk heap metadata and objects causing the program to crash. It affects 32-bit builds of gawk in versions 5.4.0 and below.
Problem types
CWE-190 Integer Overflow or Wraparound
Product status
Any version
Credits
Michał Majchrowicz (AFINE)
Marcin Wyczechowski (AFINE)
References
cgit.git.savannah.gnu.org/...f46913269a9e62aceda3636afe8147b
cert.pl/en/posts/2026/07/CVE-2026-40467