CVE-2025-5472
published medium CVSS 3.0 · 6.5Denial of Service via Uncontrolled Recursive JSON Parsing in JSONReader in run-llama/llama_index
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| run-llama | — | run-llama/llama_indexunspecified to < 0.12.38 | Affected | Not stated | @huntr_ai |
Description
The JSONReader in run-llama/llama_index versions 0.12.28 is vulnerable to a stack overflow due to uncontrolled recursive JSON parsing. This vulnerability allows attackers to trigger a Denial of Service (DoS) by submitting deeply nested JSON structures, leading to a RecursionError and crashing applications. The root cause is the unsafe recursive traversal design and lack of depth validation, which makes the JSONReader susceptible to stack overflow when processing deeply nested JSON. This impacts the availability of services, making them unreliable and disrupting workflows. The issue is resolved in version 0.12.38.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| run-llama | run-llama/llama_index | unspecified to < 0.12.38 (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-674 CWE-674 Uncontrolled Recursion
References
2Provider assertions
2@huntr_ai · cna
Denial of Service via Uncontrolled Recursive JSON Parsing in JSONReader in run-llama/llama_index
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3a09f86d6d2314bdc487841f6cf92671cd58be0eab9ef2e77e84eeebab5b7fad
- Ingested
- 23 Sep 2026, 08:54:47 UTC
- Source record
- Official CVE record