Description
Elasticsearch does not apply its configurable input length restriction to a user-supplied pattern accepted by an intervals query. Compiling a deeply nested pattern drives unbounded recursion that exhausts the thread stack and raises a fatal error, terminating the Elasticsearch node process and causing a denial of service for that node. An authenticated user holding only read-only privileges on a single searchable index can trigger the condition with one small search request.
Severity (CVSS)
| Base score | 6.5 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-674 — CWE-674 Uncontrolled Recursion
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Elastic | Elasticsearch | 8.19.0 to <=8.19.19; 9.0.0 to <=9.4.4 |
References
Generated from the official CVE List on 14 Aug 2026 07:02 UTC.