Live threats

All CVEs / Llamaindex

CVE-2025-3225Llamaindex

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
—
Auth required
No
Published
Jul 7, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-776
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Llamaindex.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI llama-index ≥ 0.12.21 < 0.12.29 0.12.29 pip install "llama-index>=0.12.29"
PyPI llama-index-readers-papers < 0.3.2 0.3.2 pip install "llama-index-readers-papers>=0.3.2"
PyPI llama-index-readers-papers < 0.3.2 0.3.2 pip install "llama-index-readers-papers>=0.3.2"

Per OSV / GitHub Advisories (PYSEC-2025-250, GHSA-w42r-mrx7-c633, PYSEC-2026-1570). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
llamaindexllamaindex≥ 0.12.21 < 0.12.29

Official sources

References

Links published by the sources. Open them with care.