PyPA Advisory Database
PYSEC-2025-250
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | llama-index | From 0.12.21 before 0.12.29 (fixed in 0.12.29) |