What’s Vulnerable › Vulnerabilities
CVE-2025-3225: XML Entity Expansion vulnerability in run-llama/llama_index
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-07-07 · updated 2026-06-17
- Weakness: CWE-776
Description
An XML Entity Expansion vulnerability, also known as a 'billion laughs' attack, exists in the sitemap parser of the run-llama/llama_index repository, specifically affecting version v0.12.21. This vulnerability allows an attacker to supply a malicious Sitemap XML, leading to a Denial of Service (DoS) by exhausting system memory and potentially causing a system crash. The issue is resolved in version v0.12.29.
Affected products
- run-llama/llama_index: from 0.12.21 before 0.12.29 — fixed in 0.12.29
How to fix
Upgrade to a fixed version: run-llama/llama_index 0.12.29. Check the vendor advisory for mitigations.
References
- https://github.com/run-llama/llama_index/commit/4f6ee062b19212106a2632af9c9521fc7f0a3584
- https://huntr.com/bounties/e33c0699-e9a2-49aa-837b-5363205637a2
Get alerted when CVE-2025-3225 or the next vulnerability affects your stack