{"id":"CVE-2025-3225","aliases":["CVE-2025-3225","GHSA-w42r-mrx7-c633","PYSEC-2025-250","PYSEC-2026-1570"],"related":[],"kind":"vulnerability","state":"published","title":"XML Entity Expansion vulnerability in run-llama/llama_index","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","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 the Papers Loaders package before version 0.3.2 (in llama-index v0.10.0 and above through v0.12.29). 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 0.3.2 (in llama-index 0.12.29).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Existe una vulnerabilidad de expansión de entidades XML, también conocida como ataque de \"billion laughs\", en el analizador de mapas de sitio del repositorio run-llama/llama_index, que afecta específicamente a la versión v0.12.21. Esta vulnerabilidad permite a un atacante proporcionar un XML de mapa de sitio malicioso, lo que provoca una denegación de servicio (DoS) al agotar la memoria del sistema y, potencialmente, provocar un bloqueo del mismo. El problema se ha resuelto en la versión v0.12.29.","source":"nvd"}],"published":"2025-07-07T09:54:06.033Z","modified":"2026-07-13T07:26:34.494Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-776"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"v0.12.29","status":"affected"}],"vendor":"run-llama","product":"run-llama/llama_index","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.3.2"}],"ecosystem":"PyPI","package":"llama-index-readers-papers","purl":"pkg:pypi/llama-index-readers-papers","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.12.21","fixed":"0.12.29"}],"vendor":"llamaindex","product":"llamaindex","cpe":"cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0.12.21","status":"affected","fixed":"0.12.29"}],"ecosystem":"PyPI","package":"llama-index","purl":"pkg:pypi/llama-index","source":"pysec"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.3.2"}],"ecosystem":"PyPI","package":"llama-index-readers-papers","purl":"pkg:pypi/llama-index-readers-papers","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/e33c0699-e9a2-49aa-837b-5363205637a2","tags":["evidence","exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/run-llama/llama_index/commit/4f6ee062b19212106a2632af9c9521fc7f0a3584","tags":["fix","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3225","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/run-llama/llama_index","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/llama-index-readers-papers","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-w42r-mrx7-c633","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-07-07T14:54:59.585Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-3225","url":"https://www.cve.org/CVERecord?id=CVE-2025-3225","licence":"CVE Terms of Use","modified":"2025-07-07T14:59:26.842Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w42r-mrx7-c633","url":"https://github.com/advisories/GHSA-w42r-mrx7-c633","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:34.494Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-3225","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3225","licence":"Public domain","modified":"2026-06-17T09:19:28.120Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-250","url":"https://osv.dev/vulnerability/PYSEC-2025-250","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:34.494Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1570","url":"https://osv.dev/vulnerability/PYSEC-2026-1570","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:34.494Z"}],"updatedAt":"2026-11-25T22:59:00.714Z","epss":{"score":0.00796,"percentile":0.53134,"date":"2026-11-30T12:00:22.000Z"}}