Skip to content
OpenAdvisories
High ALAS2023-2026-2035 3 CVEs

Important: gawk security update (Amazon Linux 2023)

Published Aug 3, 2026 · Updated Aug 4, 2026

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-40553: 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. CVE-2026-40468: 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 affects gawk in versions 5.4.0 and below. CVE-2026-40467: 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.

Fixed packages 6

ReleasePackageFixed in
Amazon Linux · 2023 gawk 0:5.1.0-3.amzn2023.0.4
Amazon Linux · 2023 gawk-all-langpacks 0:5.1.0-3.amzn2023.0.4
Amazon Linux · 2023 gawk-debuginfo 0:5.1.0-3.amzn2023.0.4
Amazon Linux · 2023 gawk-debugsource 0:5.1.0-3.amzn2023.0.4
Amazon Linux · 2023 gawk-devel 0:5.1.0-3.amzn2023.0.4
Amazon Linux · 2023 gawk-doc 0:5.1.0-3.amzn2023.0.4

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

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-40467.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-40468.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-40553.html