CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Llamaindex

CVE-2025-5472
Llamaindex vulnerability

The JSONReader in run-llama/llama_index versions 0.12.28 is vulnerable to a stack overflow due to uncontrolled recursive JSON parsing. This vulnerability allows attackers to trigger a Denial of Service (DoS) by submitting deeply nested JSON structures, leading to a RecursionError and crashing applications. The root cause is the unsafe recursive traversal design and lack of depth validation, which makes the JSONReader susceptible to stack overflow when processing deeply nested JSON. This impacts the availability of services, making them unreliable and disrupting workflows. The issue is resolved in version 0.12.38.

Affected products

Llamaindex. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Llamaindex runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Llamaindex products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.