{"id":"CVE-2024-52981","aliases":["BIT-elasticsearch-2024-52981","EUVD-2025-10263","GHSA-5xm9-x7x4-4j5x","UBUNTU-CVE-2024-52981"],"status":"published","title":"Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion","description":"An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.","severity":{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00594,"percentile":0.48896,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2025-04-08T16:54:16Z","modified":"2026-10-28T10:54:44Z","fixes":[{"ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","fixed_in":["7.17.24","8.15.1"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"elasticsearch","fixed_in":["7.17.24","8.15.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.17.0"},{"last_affected":"7.17.23"},{"fixed":"7.17.24"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0-alpha1"},{"last_affected":"8.15.0"},{"fixed":"8.15.1"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"elasticsearch","ranges":[{"type":"SEMVER","events":[{"introduced":"7.17.0"},{"fixed":"7.17.24"},{"introduced":"8.0.0"},{"fixed":"8.15.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.17.0"},{"fixed":"7.17.24"}]}],"versions":["7.17.0","7.17.1","7.17.10","7.17.11","7.17.12","7.17.13","7.17.14","7.17.15","7.17.16","7.17.17","7.17.18","7.17.19","7.17.2","7.17.20","7.17.21","7.17.22","7.17.23","7.17.3","7.17.4","7.17.5","7.17.6","7.17.7","7.17.8","7.17.9"]},{"source":"osv","ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0-alpha1"},{"fixed":"8.15.1"}]}],"versions":["8.0.0","8.0.0-alpha1","8.0.0-alpha2","8.0.0-beta1","8.0.0-rc1","8.0.0-rc2","8.0.1","8.1.0","8.1.1","8.1.2","8.1.3","8.10.0","8.10.1","8.10.2","8.10.3","8.10.4","8.11.0","8.11.1","8.11.2","8.11.3","8.11.4","8.12.0","8.12.1","8.12.2","8.13.0","8.13.1","8.13.2","8.13.3","8.13.4","8.14.0","8.14.1","8.14.2","8.14.3","8.15.0","8.2.0","8.2.1","8.2.2","8.2.3","8.3.0","8.3.1","8.3.2","8.3.3","8.4.0","8.4.1","8.4.2","8.4.3","8.5.0","8.5.1","8.5.2","8.5.3","8.6.0","8.6.1","8.6.2","8.7.0","8.7.1","8.8.0","8.8.1","8.8.2","8.9.0","8.9.1","8.9.2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.2+dfsg-1","1.7.3+dfsg-1","1.7.3+dfsg-2","1.7.3+dfsg-3"]}],"products":[{"vendor":"elastic","product":"elasticsearch"}],"references":[{"url":"https://discuss.elastic.co/t/elasticsearch-7-17-24-and-8-15-1-security-update-esa-2024-37/376924","tags":["Patch","Vendor Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52981","tags":["web","advisory"]},{"url":"https://github.com/elastic/elasticsearch/commit/097fc0654f9305e01402a06c82926bb04ebe5495","tags":["web"]},{"url":"https://github.com/elastic/elasticsearch/commit/91ddb124219a5be992644fcf78d7d061e4b7d44c","tags":["web"]},{"url":"https://github.com/elastic/elasticsearch/commit/f0948d38fdc811eca4a4b71dcb81a9b7dbb654b3","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5xm9-x7x4-4j5x"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52981.json","tags":["advisory"]},{"url":"https://github.com/elastic/elasticsearch","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2024-52981","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-52981","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-52981","description":"An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.","status":"published","published":"2025-04-08T16:54:16.668Z","modified":"2025-04-08T19:58:51Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:34:03.661584Z"}],"euvd":[{"id":"EUVD-2025-10263","description":"An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.","status":"published","published":"2025-04-08T16:54:16Z","modified":"2025-04-08T19:58:51Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T20:52:39.117101Z"}],"ghsa":[{"id":"GHSA-5xm9-x7x4-4j5x","title":"Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion","description":"An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.","status":"published","published":"2025-04-08T18:34:43Z","modified":"2025-05-27T17:22:59Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:38:44.991725Z"}],"nvd":[{"id":"CVE-2024-52981","description":"An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.","status":"published","published":"2025-04-08T17:15:35.187Z","modified":"2026-06-17T08:07:57.787Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:10:46.40251Z"}],"osv":[{"id":"CVE-2024-52981","description":"An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.","status":"published","published":"2025-04-08T16:54:16.668Z","modified":"2026-10-28T10:54:44.67504703Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:44:44.451316Z"},{"id":"GHSA-5xm9-x7x4-4j5x","title":"Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion","description":"An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.","status":"published","published":"2025-04-08T18:34:43Z","modified":"2025-05-27T18:12:57.021083Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:38.911014Z"},{"id":"UBUNTU-CVE-2024-52981","description":"An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.","status":"published","published":"2025-04-08T17:15:00Z","modified":"2025-10-24T05:14:30Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:11.182485Z"},{"id":"BIT-elasticsearch-2024-52981","description":"An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.","status":"published","published":"2025-04-10T07:10:18.243Z","modified":"2026-09-08T08:47:25.21520069Z","updated_at":"2026-11-02T15:28:29.563843Z"}]}}
