Description

Inefficient Regular Expression Complexity (CWE-1333) in Elasticsearch can lead to denial of service via Regular Expression Exponential Blowup (CAPEC-492). The ES|QL CHUNK function's recursive chunking strategy accepts a list of user-supplied regular expressions used as text-splitting separators, without validating their computational complexity or bounding their execution time. An authenticated user with read access to any text-based index can submit a specially crafted regular expression that triggers catastrophic backtracking, consuming excessive CPU on Elasticsearch worker threads and degrading query throughput for other tenants on the affected node. The cluster does not crash as a result of this issue.

Severity (CVSS)

Base score4.3
SeverityMedium
VersionCVSS 3.1
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Provided byCNA

Weaknesses

  • CWE-1333 — CWE-1333 Inefficient Regular Expression Complexity

Affected products

VendorProductVersions
ElasticElasticsearch8.19.0 to <=8.19.21; 9.1.0 to <=9.3.8; 9.4.0 to <=9.4.7; 9.5.0 to <=9.5.4

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 07 Oct 2026 10:16 UTC.