CVE-2025-5302
LlamaIndex affected by a Denial of Service (DOS) in JSONReader
8.6
HIGH
CVSS 3.1
EPSS 0.05%
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.
How to fix CVE-2025-5302
To remediate CVE-2025-5302, upgrade the affected package to a fixed version below.
- —upgrade to 0.12.38 or later
Is CVE-2025-5302 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 0.12.38
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.6 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |