CVE-2025-5302
August 25, 2025
A denial of service vulnerability exists in the JSONReader component of the run-llama/llama_index repository, specifically in version v0.12.37. The vulnerability is caused by uncontrolled recursion when parsing deeply nested JSON files, which can lead to Python hitting its maximum recursion depth limit. This results in high resource consumption and potential crashes of the Python process. The issue is resolved in version 0.12.38.
Affected Packages
https://github.com/run-llama/llama_index.git (GITHUB):
Affected version(s) >=v0.10.0 <v0.12.38Fix Suggestion:
Update to version v0.12.38llama-index (PYTHON):
Affected version(s) >=0.10.0 <0.12.38Fix Suggestion:
Update to version 0.12.38llama-index-core (PYTHON):
Affected version(s) >=0.9.41 <0.12.38Fix Suggestion:
Update to version 0.12.38Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Recursion
EPSS
Base Score:
0.05