CVE-2026-40553
JSON

5.1medium

Stack-based buffer overflow in gawk

Severity
5.1medium CVSS:4.0 by CERT-PL
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CERT-PL

Description

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.

Affected

Product or packageVersionsReported by
GNU gawkup to 5.4.0CVE List
fossies gawkup to 5.4.0NVD

All scores

CERT-PL5.1medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:L/SI:L/SA:L
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-121

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Una vulnerabilidad de desbordamiento de búfer ha sido encontrada en el archivo de programa ’extension/readdir.c’ de gawk (rutina ftype()). Este problema podría ser usado para colapsar el programa y potencialmente para lograr la ejecución de código, aunque esto último no ha sido confirmado como factible. Afecta a gawk en las versiones 5.4.0 e inferiores.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-40553 changed 2026-07-13CVE Terms of Use
NVDCVE-2026-40553 changed 2026-10-24Public domain