BreachSpiderVerified, not vibes

CVE-2025-5302 in Python products

High 8.6

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

Affects 0 products from 1 vendor. Facts below cite their sources.

CVSS 3.08.6
EPSS0.6%
EPSS percentile42th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full availability impact.

Affected products and versions

VendorProductAffected versions
Python — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-5302
BreachSpider IDBS-2025-GLOBAL-036641-H
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Published2025-08-25
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-674: CWE-674

Related attack patterns (CAPEC)

CAPEC-230 Serialized Data with Nested Payloads via CWE-674

CAPEC-231 Oversized Serialized Data Payloads via CWE-674

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A denial of service vulnerability exists in the JSONReader component of the run-llama/llama_index repository, specifically in version v0.12.37, due to uncontrolled recursion when parsing deeply nested JSON files.

The vulnerability is triggered by providing a deeply nested JSON file to the JSONReader component, causing Python to hit its maximum recursion depth limit, leading to high resource consumption and potential crashes.

Questions

What is CVE-2025-5302?

A denial of service vulnerability exists in the JSONReader component of the run-llama/llama_index repository, specifically in version v0.12.37, due to uncontrolled recursion when parsing deeply nested JSON files.

What is the CVSS score for CVE-2025-5302?

CVE-2025-5302 has CVSS 8.6 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H. EPSS: 0.6%.

Is CVE-2025-5302 actively exploited?

No confirmed active exploitation of CVE-2025-5302 as of 2026-09-25.

How do I remediate CVE-2025-5302?

Priority: HIGH.

What systems are affected by CVE-2025-5302?

CVE-2025-5302 affects Python.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Python","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.