Skip to main content
← All vulnerabilities
CVE-2025-5472PYSEC-2025-251GHSA-3WXX-Q3GV-PVVVPYSEC-2026-1559

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.12.38
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • run-llama run-llama/llama_index

    fixed in 0.12.38

  • llama-indexPyPI

    From 0.12.28 · fixed in 0.12.38

  • llama-index-corePyPI

    fixed in 0.12.38

References 2

huntr.com

GitHub · run-llama/llama_index