{"id":"PYSEC-2025-250","details":"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.","aliases":["CVE-2025-3225","GHSA-w42r-mrx7-c633","PYSEC-2026-1570"],"modified":"2026-07-13T07:26:34.494956192Z","published":"2025-07-07T10:15:27.047Z","references":[{"type":"FIX","url":"https://github.com/run-llama/llama_index/commit/4f6ee062b19212106a2632af9c9521fc7f0a3584"},{"type":"EVIDENCE","url":"https://huntr.com/bounties/e33c0699-e9a2-49aa-837b-5363205637a2"}],"affected":[{"package":{"name":"llama-index","ecosystem":"PyPI","purl":"pkg:pypi/llama-index"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.21"},{"fixed":"0.12.29"}]}],"versions":["0.12.21","0.12.22","0.12.23","0.12.24","0.12.25","0.12.26","0.12.27","0.12.28"],"ecosystem_specific":{},"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/llama-index/PYSEC-2025-250.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}