CVE-2026-72636: Uncontrolled Recursion in Elasticsearch Wildcard Matching Leading to Denial of Service
Uncontrolled Recursion (CWE-674) in the Elasticsearch wildcard matching helper can lead to a denial of service via Excessive Allocation (CAPEC-130). The matcher used to resolve wildcard patterns against names is implemented recursively and had no bound on recursion depth or on the total number of match operations performed. A search request containing a wildcard pattern with a large number of wildcard groups, evaluated against a sufficiently long name, exhausts the thread stack. Elasticsearch treats a stack overflow as an unrecoverable condition and shuts the node down, so the request terminates the affected node rather than failing gracefully.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-72636?
CVE-2026-72636 has a medium severity score of 6.5.
What type of vulnerability is described by CVE-2026-72636?
CVE-2026-72636 is an uncontrolled recursion vulnerability leading to denial of service in Elasticsearch.
How does CVE-2026-72636 affect Elasticsearch?
CVE-2026-72636 affects Elasticsearch by allowing excessive memory allocation through uncontrolled recursion during wildcard matching.
What can be the result of exploiting CVE-2026-72636?
Exploiting CVE-2026-72636 can lead to a denial of service condition for Elasticsearch.
How do I mitigate the risk associated with CVE-2026-72636?
To mitigate CVE-2026-72636, update to the latest version of Elasticsearch that addresses this vulnerability.