Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-5472

6.5 · MEDIUM
Published Jul 7, 2025 llamaindex CWE-674 EPSS 0.34% (26th pctl)

Overview

CVE-2025-5472 is a medium-severity vulnerability affecting llamaindex llamaindex. It was published on July 7, 2025 and has a CVSS 3.0 base score of 6.5 (MEDIUM).

This vulnerability has a CVSS 3.0 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from llamaindex. Update llamaindex to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
llamaindex llamaindex >= 0.12.28, < 0.12.38 Affected

Frequently Asked Questions

What is CVE-2025-5472?

CVE-2025-5472 is a medium-severity vulnerability affecting llamaindex llamaindex. It was published on July 7, 2025 and has a CVSS 3.0 base score of 6.5 (MEDIUM).

How severe is CVE-2025-5472?

This vulnerability has a CVSS 3.0 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-5472?

Check the references section for vendor advisories and patches from llamaindex. Update llamaindex to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-5472?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-5472 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.