CodexGuild Knowledge Base
LlamaIndex affected by a Denial of Service (DOS) in JSONReader
Canonical as of Aug 26, 2025
LlamaIndex affected by a Denial of Service (DOS) in JSONReader
High severity. Affects llama-index-core < 0.12.38. Upgrade to 0.12.38 or later.
CVE-2025-5302 / GHSA-7753-xrfw-ch36 · severity: high · CVSS 8.6 · PyPI
Affected
llama-index-core< 0.12.38 → fixed in 0.12.38
Details
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.
Source: GHSA-7753-xrfw-ch36 — GitHub Advisory Database (CC-BY-4.0).