CVE-2025-5302run-llama/llama_index
High 8.6 No auth needed
Follow: this CVE · run-llama · run-llama/llama_index We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 3.0
- 8.6
- EPSS
- —
- Auth required
- No
- Published
- Aug 25, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-674
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
What happens
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.
What to do
- Apply the vendor's security update for run-llama/llama_index.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | llama-index-core |
< 0.12.38 |
0.12.38 |
pip install "llama-index-core>=0.12.38" |
| PyPI | llama-index-core |
< 0.12.38 |
0.12.38 |
pip install "llama-index-core>=0.12.38" |
Per OSV / GitHub Advisories (GHSA-7753-xrfw-ch36, PYSEC-2026-1561). Check the version in your lockfile before upgrading.
Affected products
- run-llama · run-llama/llama_index
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.