CVE-2026-72639
Memory Allocation with Excessive Size Value in Elasticsearch Highlighting Leading to Denial of Service
Description
Elasticsearch does not enforce an upper bound on a user-supplied count accepted by a search highlighting option, and the allocation derived from that count is not accounted against any circuit breaker. An authenticated user holding only read privileges on a single searchable index can submit one small search request that causes the node to reserve an excessively large internal data structure. The allocation occurs before the existing highlighting safety limits are evaluated, so memory exhaustion raises a fatal error that terminates the Elasticsearch node process. This results in a denial of service for the affected node and degrades cluster routing and health. The defect is not volumetric and does not depend on the size of the indexed data, so a single request is sufficient.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.elasticsearch » elasticsearch | >= 8.19.0, <= 8.19.19>= 9.3.0, <= 9.5.0 | - |
Blast radius
22% of the dependent artifacts (5) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 288 |
| 2 hops | 279 |
| 3 hops | 236 |
| 4 hops | 6 |
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
- io.camunda » camunda-zeebe2 usages
- org.geonetwork-opensource » gn-web-app2 usages
- io.spinnaker.clouddriver » clouddriver-elasticsearch1 usages
- io.spinnaker.clouddriver » clouddriver-web1 usages
- org.elasticsearch.plugin » x-pack-esql-compute1 usages
- org.elasticsearch » elasticsearch-swisshash1 usages
- io.camunda » tasklist-webapp1 usages
- org.geonetwork-opensource » gn-camel-periodic-producer1 usages
- org.geonetwork-opensource » gn-health-monitor1 usages
- org.geonetwork-opensource » gn-inspire-atom1 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-72639 | github.com |
| Advisory | NVD CVE-2026-72639 | nvd.nist.gov |
| Web | t/elasticsearch-8-19-20-9-4-5-9-5-1-security-update-esa-2026-120/389503 | discuss.elastic.co |
