# CVE-2025-3225: XML Entity Expansion vulnerability in run-llama/llama_index

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 53% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-07T09:54:06.033Z
- Modified: 2026-07-13T07:26:34.494Z
- Also known as: GHSA-w42r-mrx7-c633, PYSEC-2025-250, PYSEC-2026-1570
- Weaknesses: CWE-776
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

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.

(As written by CVE List.)

## Affected

- run-llama run-llama/llama_index: from unspecified before v0.12.29
- llama-index-readers-papers (PyPI): before 0.3.2
- llamaindex llamaindex: from 0.12.21 before 0.12.29
- llama-index (PyPI): from 0.12.21 before 0.12.29

## Every score

- @huntr_ai: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://huntr.com/bounties/e33c0699-e9a2-49aa-837b-5363205637a2> (exploit, evidence, third-party-advisory, web)
- <https://github.com/run-llama/llama_index/commit/4f6ee062b19212106a2632af9c9521fc7f0a3584> (fix, patch, web)
- <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)

## Sources

- CVE List: [CVE-2025-3225](https://www.cve.org/CVERecord?id=CVE-2025-3225), CVE Terms of Use, modified 2025-07-07
- GitHub Advisory Database: [GHSA-w42r-mrx7-c633](https://github.com/advisories/GHSA-w42r-mrx7-c633), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2025-3225](https://nvd.nist.gov/vuln/detail/CVE-2025-3225), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-250](https://osv.dev/vulnerability/PYSEC-2025-250), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-1570](https://osv.dev/vulnerability/PYSEC-2026-1570), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2025-3225 · Whole record: https://cve.day/CVE-2025-3225.json · Rebuilt by cve.day 2026-11-25T22:59:00.714Z
