CVE-2025-3225
HIGH 7.5CVSS 3.0LlamaIndex has an XML Entity Expansion vulnerability in its sitemap parser
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
- 7 Jul 2025
- Last modified
- 13 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-776
- Also known as
- GHSA-w42r-mrx7-c633PYSEC-2025-250PYSEC-2026-1570
- Sources
- NVDJSONOSV GHSA-w42r-mrx7-c633JSONOSV PYSEC-2025-250JSONOSV PYSEC-2026-1570JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | llamaindex | llamaindexcpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:* |
>= 0.12.21, < 0.12.29 | 0.12.29 |
| OSV | PyPI | llama-index-readers-papers | < 0.3.2 | 0.3.2 |
| OSV | PyPI | llama-index | >= 0.12.21, < 0.12.29 | 0.12.29 |
References
- https://github.com/run-llama/llama_index/commit/4f6ee062b19212106a2632af9c9521fc7f0a3584 · Patch, WEB, FIX
- https://huntr.com/bounties/e33c0699-e9a2-49aa-837b-5363205637a2 · Exploit, Third Party Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2025-3225 · ADVISORY
- https://github.com/run-llama/llama_index · PACKAGE
- https://pypi.org/project/llama-index-readers-papers · PACKAGE
- https://github.com/advisories/GHSA-w42r-mrx7-c633 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 7 Jul 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2025)