CVE-2026-72636 Uncontrolled Recursion in Elasticsearch Wildcard Matching Leading to Denial of Service
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Elasticsearch | >= 8.0.0, < 8.19.20; >= 8.0.0, <= 8.19.19; >= 9.0.0, < 9.4.5; >= 9.0.0, <= 9.4.4 | 8.19.20, 9.4.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Elasticsearch | >= 8.0.0, <= 8.19.19 | No fix listed |
| Elasticsearch | >= 9.0.0, <= 9.4.4 | No fix listed |
| Elasticsearch | >= 8.0.0, < 8.19.20 | 8.19.20 |
| Elasticsearch | >= 9.0.0, < 9.4.5 | 9.4.5 |
References
- discuss.elastic.co vendor-advisory
- ENISA EUVD EUVD-2026-58222 third-party-advisory