CVE-2026-40553: Buffer overflow in GNU gawk ftype()
- Vendor
- Fossies
CVE-2026-40553 is a buffer overflow in the ftype() routine of GNU gawk's readdir extension, affecting versions 5.4.0 and earlier. Triggering the overflow can crash the process, causing denial of service. Arbitrary code execution is considered possible, but its feasibility has not been confirmed.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation can terminate the affected gawk process and interrupt workloads that depend on it. Code execution is a potential additional consequence, but it has not been demonstrated. No known exploits are identified.
Mitigation
If you can’t patch tonight, do this now.
No specific workaround is provided. Until fixed packages are installed, limit local access to systems running vulnerable gawk versions and restrict execution of untrusted awk workloads or inputs where operationally feasible.
Remediation
Patch, then assume compromise.
Install vendor-provided security updates for affected gawk packages, including applicable companion packages. Distribution fixes are available for affected EulerOS, MiracleLinux, Rocky Linux, and AlmaLinux releases. Use the relevant vendor advisory to identify the corrected package build, since distribution packages may contain backported fixes without changing the upstream version to above 5.4.0. A confirmed fixed upstream release number is not available.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-40553 exploited in the wild?
- As of Nov 7, 2026, Mallory has no reports of CVE-2026-40553 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-40553?
- As of Nov 7, 2026, Mallory has found no public exploit for CVE-2026-40553.
- Is there a patch for CVE-2026-40553?
- Install vendor-provided security updates for affected gawk packages, including applicable companion packages. Distribution fixes are available for affected EulerOS, MiracleLinux, Rocky Linux, and AlmaLinux releases.
- What products are affected by CVE-2026-40553?
- Fossies Gawk.
- How severe is CVE-2026-40553?
- CVE-2026-40553 has a CVSS v4 score of 5.1 (Medium) and an EPSS score of 0.29% (22nd percentile) as of Nov 7, 2026.
Recent activity
51 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.