XXE in Llamaindex
CVE-2025-3225
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.005 (39.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 39.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.001
Affected products
- Llamaindex
- Run-Llama Run-Llama/llama Index — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/e33c0699-e9a2-49aa-837b-5363205637a2 (Exploit, Third Party Advisory)
- github.com/run-llama/llama_index/commit/4f6ee062b19212106a2632af9c9521fc7f0a3584 (Patch)
Frequently asked questions
- What is CVE-2025-3225?
- CVE-2025-3225 is a high-severity vulnerability in Llamaindex, classified under Improper Restriction of Recursive Entity References in DTDs (XML Entity Expansion). CVSS score: 7.5/10. Published 2025-07-07.
- How severe is CVE-2025-3225?
- High severity. CVSS v3 base score is 7.5 out of 10.