LlamaIndex affected by a Denial of Service (DOS) in JSONReader
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | llama-index-core | < 0.12.38 | 0.12.38 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-5302
- https://github.com/run-llama/llama_index/commit/c032843a02ce38fd8f284b2aa5a37fd1c17ae635
- https://github.com/run-llama/llama_index
- https://huntr.com/bounties/70041b81-de9e-4046-8c0e-6ccd557048a6
- https://pypi.org/project/llama-index-core
- https://github.com/advisories/GHSA-7753-xrfw-ch36
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H- Weakness (CWE)
CWE-674- Platform
- Python (PyPI)
- Package
llama-index-core- Disclosed
- 26.08.2025
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1561 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-7753-xrfw-ch36 - CC BY 4.0
Vulnerability history: llama-index-core
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 10
- First → latest
- 04.2024 02.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 3
- High 4
- Medium 3
Disclosures per year
- 2024: 3
- 2025: 6
- 2026: 1
-
LlamaIndex affected by a Denial of Service (DOS) in JSONReader this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.