Vulnerability · Published May 10, 2025 · Assigned by @huntr_ai

CVE-2025-1752Denial of Service in run-llama/llama_index

High 7.5

In plain English

A high-severity security flaw in run-llama/llama_index from run-llama. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)7.5High
Exploit odds (30 days)0.5%top 55.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIllama-index0.12.21GHSA-7c85-87cp-mr6g
PyPIllama-index0.12.21PYSEC-2026-1554

Affected products (as reported)

VendorProductVersions
run-llama run-llama/llama_index unspecified – before 0.3.6

Weakness: CWE-674 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References