# CVE-2025-5302: PYSEC-2026-1561 - LlamaIndex affected by a Denial of Service (DOS) in JSONReader

Source: https://junglewise.ai/threats/cve-2025-5302-llamaindex-affected-by-a-denial-of-service-dos-in-jsonreader  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2025-5302 · Severity: low · CVSS 3 · Published 2026-07-07

LlamaIndex affected by a Denial of Service (DOS) in JSONReader

Technologies: [llama-index-core (PyPI)](https://junglewise.ai/threats/technologies/llama-index-core). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-5302 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-5302 being exploited in the wild.

**How severe is CVE-2025-5302?** Low severity, with a CVSS score of 3, published 7 July 2026.

**Which products and versions are affected?** llama-index-core (PyPI) ECOSYSTEM:introduced=0,fixed=0.12.38.

**Is there a fix for CVE-2025-5302?** Yes. llama-index-core (PyPI): upgrade to 0.12.38 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-5302?** Check whether you run llama-index-core (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- llama-index-core (PyPI): upgrade to 0.12.38 or later

  ```sh
  pip install "llama-index-core>=0.12.38"
  ```


## Affected products

- llama-index-core (PyPI) ECOSYSTEM:introduced=0,fixed=0.12.38

## Identifiers

- CVE-2025-5302
- GHSA-7753-xrfw-ch36
- PYSEC-2026-1561

## Related threats

- [PYSEC-2026-1560 - llama-index-core vulnerable to Uncontrolled Resource Consumption](https://junglewise.ai/threats/cve-2025-6208-llama-index-core-vulnerable-to-uncontrolled-resource-consumption)
- [PYSEC-2026-1562 - llama-index-core insecurely handles temporary files](https://junglewise.ai/threats/cve-2025-7647-llama-index-core-insecurely-handles-temporary-files)
- [PYSEC-2026-1558 - LlamaIndex vulnerable to Path Traversal attack through its encode_image function](https://junglewise.ai/threats/cve-2025-6209-llamaindex-path-traversal-in-encode-image-function)
- [PYSEC-2026-1559 - LlamaIndex vulnerable to DoS attack through uncontrolled recursive JSON parsing](https://junglewise.ai/threats/cve-2025-5472-llamaindex-vulnerable-to-dos-attack-through-uncontrolled-recursive)
- [PYSEC-2026-1564 - LlamaIndex has Incomplete Documentation of Program Execution related to JsonPickleSerializer component](https://junglewise.ai/threats/cve-2025-3108-llamaindex-has-incomplete-documentation-of-program-execution)
