{"id":"CVE-2024-52981","aliases":["BIT-elasticsearch-2024-52981","GHSA-5xm9-x7x4-4j5x"],"url":"https://o3.security/vulnerability/CVE-2024-52981","summary":"Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion","details":"An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.","published":"2025-04-08T16:54:16.668Z","modified":"2026-08-12T15:16:06.526843Z","cvss":{"score":4.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.00549,"percentile":0.43463,"asOf":"2026-08-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.elasticsearch:elasticsearch","fixedVersion":"7.17.24"},{"ecosystem":"Maven","name":"org.elasticsearch:elasticsearch","fixedVersion":"8.15.1"}],"fix":{"url":"https://github.com/elastic/elasticsearch/commit/097fc0654f9305e01402a06c82926bb04ebe5495","label":"elastic/elasticsearch@097fc06"},"references":[{"type":"WEB","url":"https://discuss.elastic.co/t/elasticsearch-7-17-24-and-8-15-1-security-update-esa-2024-37/376924"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52981.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52981"},{"type":"WEB","url":"https://github.com/elastic/elasticsearch/commit/097fc0654f9305e01402a06c82926bb04ebe5495"},{"type":"WEB","url":"https://github.com/elastic/elasticsearch/commit/91ddb124219a5be992644fcf78d7d061e4b7d44c"},{"type":"WEB","url":"https://github.com/elastic/elasticsearch/commit/f0948d38fdc811eca4a4b71dcb81a9b7dbb654b3"},{"type":"PACKAGE","url":"https://github.com/elastic/elasticsearch"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T15:16:06.526843Z"}}