Uncontrolled Recursion Affecting llama-index package, versions [,0.12.38)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-LLAMAINDEX-10645587
  • published8 Jul 2025
  • disclosed7 Jul 2025
  • creditMr. Niko

Introduced: 7 Jul 2025

NewCVE-2025-5472  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade llama-index to version 0.12.38 or higher.

Overview

llama-index is an Interface between LLMs and your data

Affected versions of this package are vulnerable to Uncontrolled Recursion via the JSONReader process. An attacker can cause the application to crash by submitting deeply nested JSON structures, resulting in a stack overflow and service disruption.

References

CVSS Base Scores

version 4.0
version 3.1