CVE-2026-40553
published 2026-07-13CVE-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…
PriorityP343high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.29%
20.5th percentile
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
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| fossies | gawk | <= 5.4.0 | — |
| gnu | gawk | <= 5.4.0 | — |
| gnu | gawk | — | — |
| ubuntu | gawk | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv4.05.1MEDIUMCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_ubuntu7.5HIGH
vendor_redhat6.2MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
GNU gawk up to 5.4.0 Directory Reader extension/readdir.c ftype buffer overflow (Nessus ID 326569 / WID-SEC-2026-3649)
vuldb·2026-10-03·CVSS 7.5
CVE-2026-40553 [HIGH] GNU gawk up to 5.4.0 Directory Reader extension/readdir.c ftype buffer overflow (Nessus ID 326569 / WID-SEC-2026-3649)
A vulnerability classified as problematic was found in GNU gawk up to 5.4.0. The affected element is the function ftype of the file extension/readdir.c of the component Directory Reader. Such manipulation leads to buffer overflow.
This vulnerability is listed as CVE-2026-40553. The attack must be carried out locally. There is no available exploit.
GHSA
Buffer overflow vulnerability has been found in "extension/readdir.c" program file of gawk (ftype() routine).
ghsa_unreviewed·2026-07-13
CVE-2026-40553 [MEDIUM] CWE-121 Buffer overflow vulnerability has been found in "extension/readdir.c" program file of gawk (ftype() routine).
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.
Ubuntu
Gawk vulnerabilities
vendor_ubuntu·2026-07-22·CVSS 7.5
CVE-2026-40468 [HIGH] Gawk vulnerabilities
Title: Gawk vulnerabilities
Summary: Several security issues were fixed in Gawk.
It was discovered that Gawk incorrectly handled memory when processing
input using the getline redirection. An attacker could possibly use
this issue to cause a denial of service. (CVE-2026-40467)
It was discovered that Gawk incorrectly handled certain integer
calculations when allocating memory. An attacker could possibly use
this issue to cause a denial of service or overwrite heap memory with
attacker-controlled data. (CVE-2026-40468)
It was discovered that Gawk incorrectly handled certain integer
calculations when performing substitutions. An attacker could possibly
use this issue to cause a denial of service. (CVE-2026-40469)
It was discovered that Gawk incorrectly handled memory when reading
directo
Red Hat
gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service
vendor_redhat·2026-07-13·CVSS 6.2
CVE-2026-40553 [MEDIUM] CWE-121 gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service
gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service
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.
A flaw was found in gawk. A buffer overflow vulnerability exists in the `ftype()` routine, located in the `extension/readdir.c` program file. This vulnerability could allow an attacker to crash the program, resulting in a denial of service. It may also potentially lead to arbitrary code execution, though this has not been definitively confirmed.
Statement: Moderate: A buffer overflow in gawk's `f
No detection rules found.
No public exploits indexed.
Rapid7
Patch Tuesday - July 2026
blogs_rapid7·2026-07-14·CVSS 9.6
CVE-2026-58617 [CRITICAL] Patch Tuesday - July 2026
Microsoft is publishing 622 vulnerabilities on July 2026 Patch Tuesday , including a record-breaking 416 Windows vulnerabilities. Microsoft is aware of exploitation in the wild for two of the vulnerabilities published today, both of which are listed on CISA KEV, as well as public disclosure for one other. As usual, browser vulns are not included in the Patch Tuesday count above. Rapid7 noted last month that Microsoft no longer enumerates Chromium CVEs in the Security Update Guide. However, Microsoft has now taken the pursuit of minimalism much further, since today’s Security Update Guide no longer lists out even Microsoft vulnerabilities! Instead, we now receive a summary table of vulnerability counts by product family, as well as a new slimline “Notable CVEs” section. All of this only ser
Bugzilla
CVE-2026-40553 gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service [fedora-all]
bugzilla·2026-08-03·CVSS 7.5
CVE-2026-40553 [HIGH] CVE-2026-40553 gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service [fedora-all]
CVE-2026-40553 gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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.
Bugzilla
CVE-2026-40553 gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service
bugzilla·2026-07-13·CVSS 7.5
CVE-2026-40553 [HIGH] CVE-2026-40553 gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service
CVE-2026-40553 gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service
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.
2026-07-13
Published