Elasticsearch stack overflow via recursive GeometryCollection WKT
CVE-2024-52981 Published on April 8, 2025

An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.

NVD

Vulnerability Analysis

CVE-2024-52981 can be exploited with network access, and requires user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
HIGH
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
NONE
Integrity Impact:
NONE
Availability Impact:
HIGH

Weakness Type

What is a Resource Exhaustion Vulnerability?

The software does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

CVE-2024-52981 has been classified to as a Resource Exhaustion vulnerability or weakness.


Products Associated with CVE-2024-52981

Want to know whenever a new CVE is published for Elasticsearch? stack.watch will email you.

 

Affected Versions

Elasticsearch:

Exploit Probability

EPSS
0.31%
Percentile
53.67%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.