CVE-2026-72636
Uncontrolled Recursion in Elasticsearch Wildcard Matching Leading to Denial of Service
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.elasticsearch » elasticsearch | >= 8.0.0, <= 8.19.19>= 9.0.0, <= 9.4.4 | - |
Blast radius
70% of the dependent artifacts (19) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 684 |
| 2 hops | 635 |
| 3 hops | 457 |
| 4 hops | 20 |
Most used dependents
- org.elasticsearch.test » framework92 usages
- org.geonetwork-opensource » gn-services8 usages
- org.geonetwork-opensource » gn-harvesters4 usages
- org.geonetwork-opensource » gn-csw-server3 usages
- org.geonetwork-opensource » gn-wfsfeature-harvester3 usages
- org.geonetwork-opensource » gn-web-app2 usages
- io.camunda » camunda-zeebe2 usages
- io.spinnaker.clouddriver » clouddriver-elasticsearch1 usages
- io.spinnaker.clouddriver » clouddriver-web1 usages
- org.geonetwork-opensource » gn-health-monitor1 usages
- org.geonetwork-opensource » gn-inspire-atom1 usages
- org.geonetwork-opensource » gn-camelPeriodicProducer1 usages
- io.camunda » tasklist-webapp1 usages
- org.elasticsearch.plugin » x-pack-esql-compute1 usages
- org.elasticsearch » elasticsearch-swisshash1 usages
Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-72636 | github.com |
| Advisory | NVD CVE-2026-72636 | nvd.nist.gov |
| Web | t/elasticsearch-8-19-20-9-4-5-security-update-esa-2026-133/389499 | discuss.elastic.co |
