Skip to content
OpenAdvisories
High · 8.6 CVE-2025-5302 EUVD-2025-25708GHSA-7753-xrfw-ch36PYSEC-2026-1561

Denial of Service (DOS) in JSONReader in run-llama/llama_index

Published Aug 25, 2025 · Updated Aug 25, 2025 · Assigned by @huntr_ai

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.

Affected products

VendorProductAffectedFixed
run-llama run-llama/llama_index unspecified – < 0.12.38 0.12.38

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI llama-index-core < 0.12.38 0.12.38 GHSA-7753-xrfw-ch36

References