CVE-2026-72636: Uncontrolled Recursion in Elasticsearch Wildcard Matching Leading to Denial of Service

CVE-2026-72636 affects 140 listed versions of Elasticsearch in the Dawnsentry catalogue.

6.5CVSS medium
None knownexploitation
under 1%EPSS (next 30 days)
13 August 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Elasticsearch

140 of 250 listed versions are affected. Fixed in 9.4.5, 8.19.20. The newest release, 9.5.7, is not affected.

9.4.4 9.4.3 9.4.2 9.4.1 9.4.0 9.3.8 9.3.7 9.3.6 9.3.5 9.3.4 9.3.3 9.3.2 9.3.1 9.3.0 9.2.9 9.2.8 9.2.7 9.2.6 9.2.5 9.2.4 9.2.3 9.2.2 9.2.1 9.2.0 9.1.10 9.1.9 9.1.8 9.1.7 9.1.6 9.1.5 9.1.4 9.1.3 9.1.2 9.1.1 9.1.0 9.0.8 9.0.7 9.0.6 9.0.5 9.0.4 9.0.3 9.0.2 9.0.1 9.0.0 8.19.19 8.19.18 8.19.17 8.19.16 8.19.15 8.19.14 8.19.13 8.19.12 8.18.8 8.18.7 8.18.6 8.18.5 8.18.4 8.18.3 8.18.2 8.18.1 and 80 more

What it is

Uncontrolled Recursion (CWE-674) in the Elasticsearch wildcard matching helper can lead to a denial of service via Excessive Allocation (CAPEC-130). The matcher used to resolve wildcard patterns against names is implemented recursively and had no bound on recursion depth or on the total number of match operations performed. A search request containing a wildcard pattern with a large number of wildcard groups, evaluated against a sufficiently long name, exhausts the thread stack. Elasticsearch treats a stack overflow as an unrecoverable condition and shuts the node down, so the request terminates the affected node rather than failing gracefully.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (Elastic)

Published by Elastic on 13 August 2026. Last changed 1 September 2026.

Sources

Check one version you run: look CVE-2026-72636 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.