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.
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 30 Jul 2025 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Llamaindex
Llamaindex llamaindex
CPEs cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
Vendors & Products Llamaindex
Llamaindex llamaindex

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00043}

epss

{'score': 0.00057}


Tue, 08 Jul 2025 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 07 Jul 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 07 Jul 2025 10:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: @huntr_ai

Published:

Updated: 2025-07-07T14:59:26.842Z

Reserved: 2025-04-03T15:03:26.975Z

Link: CVE-2025-3225

cve-icon Vulnrichment

Updated: 2025-07-07T14:58:08.545Z

cve-icon NVD

Status : Analyzed

Published: 2025-07-07T10:15:27.047

Modified: 2025-07-30T21:24:40.497

Link: CVE-2025-3225

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-07-07T09:54:06Z

Links: CVE-2025-3225 - Bugzilla

cve-icon OpenCVE Enrichment

No data.