{"id":"CVE-2025-3225","aliases":["EUVD-2025-20207","GHSA-w42r-mrx7-c633","PYSEC-2025-250","PYSEC-2026-1570"],"status":"published","title":"XML Entity Expansion vulnerability in run-llama/llama_index","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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00478,"percentile":0.41563,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-776"],"published":"2025-07-07T09:54:06Z","modified":"2026-10-28T02:30:47Z","fixes":[{"ecosystem":"PyPI","package":"llama-index-readers-papers","fixed_in":["0.3.2"],"sources":["ghsa","osv"]},{"ecosystem":"PyPI","package":"llama-index","fixed_in":["0.12.29"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"llama-index-readers-papers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"llama-index-readers-papers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2"}]}],"versions":["0.0.1","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.2.0","0.3.0","0.3.1"]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"llama-index-readers-papers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2"}]}],"versions":["0.0.1","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.2.0","0.3.0","0.3.1"]}],"products":[{"vendor":"llamaindex","product":"llamaindex"},{"vendor":"run-llama","product":"run-llama/llama_index"}],"references":[{"url":"https://huntr.com/bounties/e33c0699-e9a2-49aa-837b-5363205637a2","tags":["Exploit","Third Party Advisory","web","evidence"]},{"url":"https://github.com/run-llama/llama_index/commit/4f6ee062b19212106a2632af9c9521fc7f0a3584","tags":["Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3225","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-w42r-mrx7-c633","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3225.json","tags":["advisory"]},{"url":"https://github.com/run-llama/llama_index","tags":["package"]},{"url":"https://pypi.org/project/llama-index-readers-papers","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-3225","title":"XML Entity Expansion vulnerability in run-llama/llama_index","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.","status":"published","published":"2025-07-07T09:54:06.033Z","modified":"2025-07-07T14:59:26.842Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-776"],"updated_at":"2026-11-02T14:32:39.719629Z"}],"euvd":[{"id":"EUVD-2025-20207","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.","status":"published","published":"2025-07-07T09:54:06Z","modified":"2025-07-07T14:59:26Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T20:32:13.402869Z"}],"ghsa":[{"id":"GHSA-w42r-mrx7-c633","title":"LlamaIndex has an XML Entity Expansion vulnerability in its sitemap parser","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 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).","status":"published","published":"2025-07-07T12:30:22Z","modified":"2025-07-07T23:59:03Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-776"],"updated_at":"2026-11-02T14:38:48.783737Z"}],"nvd":[{"id":"CVE-2025-3225","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.","status":"published","published":"2025-07-07T10:15:27.047Z","modified":"2026-06-17T09:19:28.12Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-776"],"updated_at":"2026-11-02T14:11:16.997062Z"}],"osv":[{"id":"CVE-2025-3225","title":"XML Entity Expansion vulnerability in run-llama/llama_index","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.","status":"published","published":"2025-07-07T09:54:06.033Z","modified":"2026-10-28T02:30:47.58645124Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-776"],"updated_at":"2026-11-02T15:44:48.02508Z"},{"id":"GHSA-w42r-mrx7-c633","title":"LlamaIndex has an XML Entity Expansion vulnerability in its sitemap parser","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 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).","status":"published","published":"2025-07-07T12:30:22Z","modified":"2026-07-13T07:26:34.494956192Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-776"],"updated_at":"2026-11-02T15:46:58.04805Z"},{"id":"PYSEC-2025-250","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.","status":"published","published":"2025-07-07T10:15:27.047Z","modified":"2026-07-13T07:26:34.494956192Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:54.242332Z"},{"id":"PYSEC-2026-1570","title":"LlamaIndex has an XML Entity Expansion vulnerability in its sitemap parser","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 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).","status":"published","published":"2026-07-07T16:02:56.466649Z","modified":"2026-07-13T07:26:34.494956192Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:55.06457Z"}]}}
