HighVulnerability
CVE-2025-3225: llama_index sitemap parser XML entity expansion denial of service
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-3225
- Published
- Record updated
- Affected
- llama-index-readers-papers < 0.3.2
- Fixed in
- 0.3.2
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
An XML Entity Expansion flaw, known as a 'billion laughs' attack, exists in the sitemap parser of the run-llama/llama_index repository, affecting version v0.12.21. An attacker can supply a malicious Sitemap XML to exhaust system memory, causing a Denial of Service and potentially a system crash.
Mitigation
The issue is resolved in version v0.12.29.
Related items
- CriticalGHSA-4mvj-m6j5-pmf7: unstructured: Server-Side Request Forgery in the URL-based partitioningSame vendor, GitHub Advisory Database
- HighCVE-2024-58339: LlamaIndex VannaQueryEngine uncontrolled resource consumption in custom_querySame vendor, NVD/CVE Database
- HighGHSA-rg9h-vx28-xxp5: llama-index has Insecure Temporary FileSame vendor, GitHub Advisory Database
- HighGHSA-7753-xrfw-ch36: LlamaIndex affected by a Denial of Service (DOS) in JSONReaderSame vendor, GitHub Advisory Database
- MediumGHSA-5hq9-5r78-2gjh: LlamaIndex vulnerable to data loss through hash collisions in its DocugamiReader classSame vendor, GitHub Advisory Database