CVE-2025-5302
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-25

Last updated on: 2025-08-25

Assigner: huntr.dev

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-25
Last Modified
2025-08-25
Generated
2026-06-16
AI Q&A
2025-08-26
EPSS Evaluated
2026-06-14
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
run-llama llama_index v0.12.37
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-674 The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a denial of service issue in the JSONReader component of the run-llama/llama_index repository version v0.12.37. It occurs due to uncontrolled recursion when parsing deeply nested JSON files, causing Python to reach its maximum recursion depth limit. This leads to high resource consumption and can cause the Python process to crash.

Impact Analysis

The vulnerability can cause your Python process to consume excessive resources and potentially crash when processing deeply nested JSON files, resulting in denial of service and disruption of normal operations.

Mitigation Strategies

The immediate step to mitigate this vulnerability is to upgrade the run-llama/llama_index repository to version 0.12.38 or later, where the issue has been resolved.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-5302. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart