CVE-2026-72639 PUBLISHED

Memory Allocation with Excessive Size Value in Elasticsearch Highlighting Leading to Denial of Service

Assigner: elastic
Reserved: 10.08.2026 Published: 13.08.2026 Updated: 13.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 6.5

Product Status

Vendor Elastic
Product Elasticsearch
Versions Default: unaffected
  • affected from 8.19.0 to 8.19.19 (incl.)
  • affected from 9.3.0 to 9.5.0 (incl.)

References

Problem Types

  • CWE-789 Memory Allocation with Excessive Size Value CWE