{"id":"CVE-2025-3225","published":"2025-07-07T09:54:06Z","modified":"2025-07-07T14:59:26Z","title":"XML Entity Expansion vulnerability in run-llama/llama_index","vendor":"run-llama","product":"run-llama/llama_index","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00478,"percentile":0.4215,"provenance":"source"},"cwes":[{"id":"CWE-776","name":"Improper Restriction of Recursive Entity References in DTDs"}],"references":[{"url":"https://huntr.com/bounties/e33c0699-e9a2-49aa-837b-5363205637a2","tags":[]},{"url":"https://github.com/run-llama/llama_index/commit/4f6ee062b19212106a2632af9c9521fc7f0a3584","tags":[]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":8.43},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"run-llama","affectedVersions":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[">= unspecified, < v0.12.29"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-07-07T14:54:59.585565Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"llama-index-readers-papers","vulnerableRanges":["<0.3.2"],"patched":["0.3.2"],"from":["GHSA-w42r-mrx7-c633","PYSEC-2026-1570"],"provenance":"source"},{"ecosystem":"PyPI","package":"llama-index","vulnerableRanges":[">=0.12.21, <0.12.29"],"patched":["0.12.29"],"from":["PYSEC-2025-250"],"provenance":"source"}],"summary":{"text":"The XML Entity Expansion flaw (\"billion laughs\") lives in the sitemap parser of the run-llama/llama_index repository, affecting version v0.12.21. An attacker who can supply a malicious Sitemap XML over the network, without authentication or user interaction, can exhaust system memory to cause a denial of service and potentially crash the system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:39Z"},"euvd":{"id":"EUVD-2025-20207","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-3044","published":"2025-07-07","fixed":"0.3.1","kev":false,"link":{"from":"CVE-2025-3044","to":"CVE-2025-3225","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:llama-index-readers-papers","fromFixed":"0.3.1","toFixed":"0.3.2","daysApart":0}]}},{"cve":"CVE-2025-3225","published":"2025-07-07","fixed":"0.3.2","kev":false}],"package":"PyPI:llama-index-readers-papers"}}