CVE-2025-5302 | Denial of Service (DOS) in JSONReader in run-llama/llama_index

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: 2025-08-25 Last update: 2026-04-15 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-5302 is rated Moderate Risk (40.4/100): CVSS High severity, with low exploitation likelihood (EPSS 0.05%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-5302

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-02-02 0.05% 0.05% +0.01%
2 2026-01-21 0.18% 0.05% -0.13%
3 2025-12-25 0.18%

Full EPSS history (4 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-5302

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.6 3.0 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 4.7 [email protected]

Weakness enumeration for CVE-2025-5302

GitHub Security Advisory for CVE-2025-5302

GHSA-7753-xrfw-ch36 · Severity: high · Ecosystem: pip — LlamaIndex affected by a Denial of Service (DOS) in JSONReader

OS Trackers for CVE-2025-5302

vendor priority summary link
redhat high https://access.redhat.com/security/cve/CVE-2025-5302

Affected software / configurations for CVE-2025-5302

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2025-5302

cvelogic Threat Intelligence