{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "7.17.0"
              },
              {
                "fixed": "7.17.24"
              },
              {
                "introduced": "8.0.0"
              },
              {
                "fixed": "8.15.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "bee86328705acaa9a6daede7140defd4d9ec56bd"
            },
            {
              "fixed": "fcf25fff740db6ab3ed5d145c58d70e4c3528ea7"
            },
            {
              "introduced": "1b6a7ece17463df5ff54a3e1302d825889aa1161"
            },
            {
              "fixed": "253e8544a65ad44581194068936f2a5d57c2c051"
            }
          ],
          "repo": "https://github.com/elastic/elasticsearch",
          "type": "GIT"
        }
      ]
    }
  ],
  "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.",
  "id": "CVE-2024-52981",
  "modified": "2026-03-10T21:50:14.532069422Z",
  "published": "2025-04-08T17:15:35.187Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://discuss.elastic.co/t/elasticsearch-7-17-24-and-8-15-1-security-update-esa-2024-37/376924"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}