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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (22nd 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-LLAMAINDEXCORE-12304061
  • published1 Sept 2025
  • disclosed25 Aug 2025
  • creditUnknown

Introduced: 25 Aug 2025

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

How to fix?

Upgrade llama-index-core to version 0.12.38 or higher.

Overview

llama-index-core is an Interface between LLMs and your data

Affected versions of this package are vulnerable to Uncontrolled Recursion via the JSONReader component. An attacker can cause excessive resource consumption and crash the process by submitting deeply nested JSON files.

References

CVSS Base Scores

version 4.0
version 3.1