Skip to content
OpenAdvisories
Medium openSUSE-SU-2026:21393-1 3 CVEs

Security update for gawk

Published Jul 20, 2026 · Updated Jul 24, 2026

Summary

This update for gawk fixes the following issues:

- CVE-2026-40467: use-after-free vulnerability within the do_getline_redir() routine could lead to a program crash
(bsc#1271351).
- CVE-2026-40468: use-after-free vulnerability in gawk's "io.c" file could permit heap metadata manipulation and host
memory exhaustion (bsc#1271352).
- CVE-2026-40553: buffer overflow in the ftype() routine of the readdir extension could trigger a program crash
(bsc#1271354).

Fixed packages 1

ReleasePackageFixed in
openSUSE · Leap 16.0 gawk 5.3.2-160000.3.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://bugzilla.suse.com/1271351
  • report
    https://bugzilla.suse.com/1271352
  • report
    https://bugzilla.suse.com/1271354
  • web
    https://www.suse.com/security/cve/CVE-2026-40467
  • web
    https://www.suse.com/security/cve/CVE-2026-40468
  • web
    https://www.suse.com/security/cve/CVE-2026-40553