Advisory

PYSEC-2025-250

Also known as: CVE-2025-3225, GHSA-w42r-mrx7-c633, PYSEC-2026-1570

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2025-07-07 10:15 UTC
Modified
2026-07-13 07:26 UTC

Affected packages and fixes

llama-index

PyPI · All systems

Affected

  • introduced 0.12.21, fixed 0.12.29 (ecosystem)

Fixed versions

0.12.29

Fix

  • Fixed version 0.12.29
    pip install --upgrade llama-index==0.12.29

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences