CVE-2025-5472
Last modified
CVE-2025-5472 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Llamaindex | Llamaindex | >= 0.12.28, < 0.12.38 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-5472?
How severe is CVE-2025-5472?
How do I fix CVE-2025-5472?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-54714Missing Authorization vulnerability in Dylan James Zephyr Pr…7.1
- CVE-2025-54715Improper Limitation of a Pathname to a Restricted Directory …4.9
- CVE-2025-54716Improper Control of Filename for Include/Require Statement i…8.1
- CVE-2025-54717Missing Authorization vulnerability in e-plugins WP Membersh…5.4
- CVE-2025-54718Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2025-54719Deserialization of Untrusted Data vulnerability in NooTheme …8.8
- CVE-2025-54720Improper Neutralization of Special Elements used in an SQL C…9.3
- CVE-2025-54721Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2025-54722Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2025-54723Deserialization of Untrusted Data vulnerability in BoldTheme…9.8
- CVE-2025-54724Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2025-54725Authentication Bypass Using an Alternate Path or Channel vul…9.8
Are you affected by CVE-2025-5472?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
