An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52981.json"
[
{
"digest": {
"length": 77.0,
"function_hash": "302806869156825138967016505708747002294"
},
"id": "CVE-2024-52981-c48c689a",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/elastic/elasticsearch/commit/fcf25fff740db6ab3ed5d145c58d70e4c3528ea7",
"target": {
"function": "doRun",
"file": "x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/cache/full/SearchableSnapshotsPrewarmingIntegTests.java"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"15728880044678428613885107089167214246",
"173618939874799114652410357105564381038",
"293761876996285912564783256243232366190",
"198593980507136286893931030547799247876",
"206709190616943257201853921897333917313",
"197399493388089925234224283026471881528",
"44508774986651643012206413574234642238",
"166140435195922692091311330906342127134",
"196437853667451077775668990843785496875",
"333451065704095536815766263903785873394",
"72868878619308445828107324034491913956"
]
},
"id": "CVE-2024-52981-e4c81f6d",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/elastic/elasticsearch/commit/fcf25fff740db6ab3ed5d145c58d70e4c3528ea7",
"target": {
"file": "x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/cache/full/SearchableSnapshotsPrewarmingIntegTests.java"
}
},
{
"digest": {
"length": 9761.0,
"function_hash": "108010166469262082174614297143144359609"
},
"id": "CVE-2024-52981-f406637e",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/elastic/elasticsearch/commit/fcf25fff740db6ab3ed5d145c58d70e4c3528ea7",
"target": {
"function": "testConcurrentPrewarming",
"file": "x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/cache/full/SearchableSnapshotsPrewarmingIntegTests.java"
}
}
]
"2026-04-12T09:58:16Z"