CVE-2025-3225

XML Entity Expansion vulnerability in run-llama/llama_index

Published Jul 7, 2025 CVSS 3.0 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-20207 LlamaIndex has an XML Entity Expansion vulnerability in its sitemap parser
Github GHSA Github GHSA GHSA-w42r-mrx7-c633 LlamaIndex has an XML Entity Expansion vulnerability in its sitemap parser
History
Type Values Removed Values Added
First Time appeared Llamaindex
Llamaindex llamaindex
CPEs cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
Vendors & Products Llamaindex
Llamaindex llamaindex
Type Values Removed Values Added
Metrics epss

{'score': 0.00043}

epss

{'score': 0.00057}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title XML Entity Expansion vulnerability in run-llama/llama_index
Weaknesses CWE-776
References
Metrics cvssV3_0

{'score': 7.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Jul 7, 2025, 2:59 PM
Reserved
Apr 3, 2025, 3:03 PM
Status
Analyzed
Published
Jul 7, 2025, 10:15 AM
Modified
Jun 17, 2026, 9:19 AM
Severity
Moderate
Public date
Jul 7, 2025, 9:54 AM