Gawk Use After Free in io.c (do_getline_redir) - Before 5.4.0
CVE-2026-40467 Published on July 13, 2026
Use after free in gawk
Use After Free vulnerability has been found in "io.c" program file of gawk (do_getline_redir() routine). This issue may lead to a crash. It affects gawk in versions 5.4.0 and below.
Weakness Type
What is a Dangling pointer Vulnerability?
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.
CVE-2026-40467 has been classified to as a Dangling pointer vulnerability or weakness.
Affected Versions
GNU gawk:- Before and including 5.4.0 is affected.