INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2025-1752

LlamaIndex Vulnerable to Denial of Service (DoS)

CVE-2025-1752 ยท 2025-05-10 high

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Denial of service
Affected
llama-index (PyPI)
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% chance of exploitation in 30 days

How it works, in short

Recursive link crawling in the web reader lacks an effective max_depth limit, so repeated calls exhaust Python's recursion limit and crash the process. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.