CVE-2025-5302
HIGH 8.6CVSS 3.0LlamaIndex 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.
- Published
- 25 Aug 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Deferred
- Weakness
- CWE-674
- Also known as
- GHSA-7753-xrfw-ch36PYSEC-2026-1561
- Sources
- NVDJSONOSV GHSA-7753-xrfw-ch36JSONOSV PYSEC-2026-1561JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 8.6 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.6 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| OSV | PyPA | CVSS 3.0 | HIGH 8.6 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | llama-index-core | < 0.12.38 | 0.12.38 |
References
- https://github.com/run-llama/llama_index/commit/c032843a02ce38fd8f284b2aa5a37fd1c17ae635 · WEB
- https://huntr.com/bounties/70041b81-de9e-4046-8c0e-6ccd557048a6 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-5302 · ADVISORY
- https://github.com/run-llama/llama_index · PACKAGE
- https://pypi.org/project/llama-index-core · PACKAGE
- https://github.com/advisories/GHSA-7753-xrfw-ch36 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 25 Aug 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Aug 2025)