Expired Pointer Dereference Affecting gawk-doc package, versions <0:5.1.0-3.amzn2023.0.4


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.21% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-GAWKDOC-18532586
  • published5 Aug 2026
  • disclosed13 Jul 2026

Introduced: 13 Jul 2026

NewCVE-2026-40467  (opens in a new tab)
CWE-825  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 gawk-doc to version 0:5.1.0-3.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2026-2035.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gawk-doc package and not the gawk-doc package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1