Skip to content
OpenAdvisories
High · 7.5 CVE-2025-1752 EUVD-2025-14231GHSA-7c85-87cp-mr6gPYSEC-2026-1554

Denial of Service in run-llama/llama_index

Published May 10, 2025 · Updated Oct 15, 2025 · Assigned by @huntr_ai

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.

Affected products

VendorProductAffectedFixed
run-llama run-llama/llama_index unspecified – < 0.3.6 0.3.6

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI llama-index >= 0.12.15, < 0.12.21 0.12.21 GHSA-7c85-87cp-mr6g

References