Skip to content
OpenAdvisories
High · 7.5 CVE-2025-3225 EUVD-2025-20207GHSA-w42r-mrx7-c633PYSEC-2025-250PYSEC-2026-1570

XML Entity Expansion vulnerability in run-llama/llama_index

Published Jul 7, 2025 · Updated Jul 7, 2025 · Assigned by @huntr_ai

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.

Affected products

VendorProductAffectedFixed
run-llama run-llama/llama_index unspecified – < v0.12.29 v0.12.29

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI llama-index >= 0.12.21, < 0.12.29 0.12.29 PYSEC-2025-250
PyPI llama-index-readers-papers < 0.3.2 0.3.2 GHSA-w42r-mrx7-c633

References