Medium · published August 14, 2026
Memory Allocation with Excessive Size Value (CWE-789) in Elasticsearch can lead to denial of service via Excessive Allocation (CAPEC-130). An authenticated user holding only read privileges on a single index can submit one small, specially crafted search request that causes an excessively large memory allocation, exhausting the JVM heap and terminating the affected node.
| Product | Versions | Fixed in |
|---|---|---|
| elastic/elasticsearch | ≥ 8.0.0, < 8.19.20 | 8.19.20 |
| elastic/elasticsearch | ≥ 9.0.0, < 9.4.5 | 9.4.5 |
| elastic/elasticsearch | ≥ 9.5.0, < 9.5.1 | 9.5.1 |