PT-2025-27665 · Unknown · Llama Index

Published

2025-04-03

·

Updated

2025-07-14

·

CVE-2025-5472

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions: llama index versions prior to 0.12.28 llama index version 0.12.28
Description: The JSONReader in the affected software is vulnerable to a stack overflow due to uncontrolled recursive JSON parsing. This 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, making the JSONReader susceptible to stack overflow when processing deeply nested JSON. This impacts the availability of services, making them unreliable and disrupting workflows.
Recommendations: For versions prior to 0.12.28, update to version 0.12.38 or later to resolve the issue. For version 0.12.28, update to version 0.12.38 or later to resolve the issue. As a temporary workaround, consider restricting the use of deeply nested JSON structures to minimize the risk of exploitation.

Exploit

Fix

DoS

Uncontrolled Recursion

Weakness Enumeration

Related Identifiers

BDU:2025-16400
CVE-2025-5472
GHSA-3WXX-Q3GV-PVVV

Affected Products

Llama Index