CVE-2025-5472

Denial of Service via Uncontrolled Recursive JSON Parsing in JSONReader in run-llama/llama_index

MEDIUM
6.5
CVSS Score
Published: July 7, 2025 at 09:55 AM UTC
Updated: June 17, 2026 at 09:47 AM UTC
2 products affected across 2 vendorsLlamaindexLlamaindex

Using run-llama/llama_index by run-llama?

Get instant alerts when new vulnerabilities affect run-llama/llama_index - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.4%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.12.28 ≤ v < 0.12.38
Affected range stops below 0.12.38, so it looks safe — our inference, not a vendor statement
v < 0.12.38
Affected range stops below 0.12.38, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUM@huntr_ai
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-674

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card