Advisory record · GHSA-5xm9-x7x4-4j5x

Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion

CVSS 4.9 MediumEPSS 0.0059 · 48th percentile

Published by the GitHub Advisory Database at 8 Apr 2025, 18:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.elasticsearch:elasticsearchMaven>=7.17.0, <7.17.24 || >=8.0.0-alpha1, <8.15.17.17.24, 8.15.1
Identifiers
GHSA-5xm9-x7x4-4j5x · BIT-elasticsearch-2024-52981 · CVE-2024-52981
Weakness (CWE)
CWE-400
Published
8 Apr 2025
Updated
27 May 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Elasticsearch versions 7.17.0 to before 7.17.24 and 8.0.0-alpha1 to before 8.15.1 are affected. An attacker who can submit Well-Known Text geometry input containing deeply nested GeometryCollection objects can trigger a stack overflow. The source gives few details beyond this. Upgrade to Elasticsearch 7.17.24 or 8.15.1, or later.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.9 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H CNA (elastic)
  • CISA KEV Not listed.
  • EPSS 0.0059, the 48th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:11 UTC First seen by agentprime
  2. 31 Oct 2026, 15:11 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.