Summary
The gawk packages contain the GNU version of awk, a text processing utility. Awk interprets a special-purpose programming language to do quick and easy text pattern matching and reformatting jobs.
Security Fix(es):
* gawk: gawk: Memory corruption via integer overflow (CVE-2026-40468)
* gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service (CVE-2026-40553)
* gawk: gawk: Denial of Service due to Use After Free vulnerability in io.c (CVE-2026-40467)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Fixed packages 2
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 9 | gawk | 5.1.0-6.el9_8.1 |
| AlmaLinux · 9 | gawk-all-langpacks | 5.1.0-6.el9_8.1 |
Vulnerabilities 3
-
Medium 5.1
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.
-
Medium 5.1
Stack-based buffer overflow in gawk
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. I…
-
Low 2.1
Heap buffer overflow in gawk
Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affect…
References
-
report
https://access.redhat.com/security/cve/CVE-2026-40467
-
report
https://access.redhat.com/security/cve/CVE-2026-40468
-
report
https://access.redhat.com/security/cve/CVE-2026-40553
-
report
https://bugzilla.redhat.com/2499655
-
report
https://bugzilla.redhat.com/2499657
-
report
https://bugzilla.redhat.com/2499658
-
advisory
https://errata.almalinux.org/9/ALSA-2026-73512.html