id: PYSEC-2025-250 published: "2025-07-07T10:15:27.047Z" modified: "2026-07-13T05:49:41.008783Z" aliases: - CVE-2025-3225 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. 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: {} 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 severity: - type: CVSS_V3 score: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H