CVE-2025-5302

Denial of Service (DOS) in JSONReader in run-llama/llama_index

Published Aug 25, 2025 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-25708 LlamaIndex affected by a Denial of Service (DOS) in JSONReader
Github GHSA Github GHSA GHSA-7753-xrfw-ch36 LlamaIndex affected by a Denial of Service (DOS) in JSONReader
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Run-llama
Run-llama llama Index
Vendors & Products Run-llama
Run-llama llama Index
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Denial of Service (DOS) in JSONReader in run-llama/llama_index
Weaknesses CWE-674
References
Metrics cvssV3_0

{'score': 8.6, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Aug 25, 2025, 3:41 PM
Reserved
May 28, 2025, 10:16 AM
Status
Deferred
Published
Aug 25, 2025, 3:15 PM
Modified
Jun 17, 2026, 9:47 AM
Severity
Important
Public date
Aug 25, 2025, 3:03 PM