CVE-2025-1752

High

Description

A Denial of Service (DoS) vulnerability has been identified in the KnowledgeBaseWebReader class of the run-llama/llama_index project, affecting version ~ latest(v0.12.15). The vulnerability arises due to inappropriate secure coding measures, specifically the lack of proper implementation of the max_depth parameter in the get_article_urls function. This allows an attacker to exhaust Python's recursion limit through repeated function calls, leading to resource consumption and ultimately crashing the Python process.

SeverityHigh
CVSS7.5
Exploit probability—
ProductLlamaindex
PublishedMay 10, 2025
First seenMay 10, 2025
Weakness typeCWE-674CWE-674

How to fix

Update
  • llamaindex llamaindex0.3.6 or later
  • llama-index0.12.21 or later

Affected products

ProductAffected versionsFixed in
llamaindex llamaindexv < 0.3.60.3.6
llama-indexPyPI0.12.15 ≤ v < 0.12.210.12.21

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.