LlamaIndexPYSEC-2025-250
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)
High7.5CVE-2025-3225 · Published Jul 7, 2025 · updated Jul 13, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| llama-index PyPI | >= 0.12.21, < 0.12.29 | 0.12.29 |
Details and references
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.
- CVSS 3.0
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Severity from
- the CVSS score
- Also known as
- CVE-2025-3225, GHSA-w42r-mrx7-c633, PYSEC-2026-1570