Stack-based Buffer Overflow Affecting gawk-doc package, versions <0:5.4.0-3.1.hum1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.29% (24th 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-RHEL10-GAWKDOC-18557007
  • published6 Aug 2026
  • disclosed13 Jul 2026

Introduced: 13 Jul 2026

CVE-2026-40553  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade RHEL:10 gawk-doc to version 0:5.4.0-3.1.hum1 or higher.
This issue was patched in RHSA-2026:40041.

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 RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1