Skip to content
Fencer Intel
medium 4.9

CVE-2024-52981 json

Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion

published last yr. modified 2mo ago also BIT-elasticsearch-2024-52981 , EUVD-2025-10263 , GHSA-5xm9-x7x4-4j5x

cvss
4.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 48%
public exploits
0
none known

Summary

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

Patch / fix

  • maven org.elasticsearch:elasticsearch 7.17.24, 8.15.1
  • bitnami elasticsearch 7.17.24, 8.15.1
  • elastic elasticsearch 7.17.24, 8.15.1
  • elasticsearch elasticsearch 7.17.24, 8.15.1
  • org.elasticsearch elasticsearch 7.17.24, 8.15.1

Is CVE-2024-52981 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CNA 3.1 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
maven org.elasticsearch:elasticsearch
>=7.17.0, <7.17.24
>=8.0.0-alpha1, <8.15.1
7.17.24
8.15.1
bitnami elasticsearch
>=7.17.0, <7.17.24
>=8.0.0, <8.15.1
7.17.24
8.15.1

Affected products

  • Elastic Elasticsearch

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.