{"id":"CVE-2025-1752","published":"2025-05-10T13:21:30Z","modified":"2025-10-15T12:50:06Z","title":"Denial of Service in run-llama/llama_index","vendor":"run-llama","product":"run-llama/llama_index","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0053,"percentile":0.45769,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://huntr.com/bounties/cd7b9082-7d75-42e4-84f5-dbee23cbc467","tags":[]},{"url":"https://github.com/run-llama/llama_index/commit/3c65db2947271de3bd1927dc66a044da385de4da","tags":[]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":9.15},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"run-llama","affectedVersions":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[">= unspecified, < 0.3.6"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-05-12T17:47:19.383577Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"llama-index","vulnerableRanges":[">=0.12.15, <0.12.21"],"patched":["0.12.21"],"from":["GHSA-7c85-87cp-mr6g","PYSEC-2026-1554"],"provenance":"source"}],"summary":{"text":"A Denial of Service flaw exists in the KnowledgeBaseWebReader class of the run-llama/llama_index project, where the get_article_urls function does not properly enforce its max_depth parameter, enabling uncontrolled recursion. An attacker with network access and no authentication or user interaction can trigger repeated recursive calls to exhaust Python's recursion limit, crashing the Python process and consuming resources.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:48Z"},"euvd":{"id":"EUVD-2025-14231","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-run-llama-llama-index-cve-2024-12910","parents":[{"from":"CVE-2024-12910","to":"CVE-2025-1752","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/knowledge_base/base.py"],"commits":["https://github.com/run-llama/llama_index/commit/159ce485a1168100bb219dc1b93133f1121579d9","https://github.com/run-llama/llama_index/commit/3c65db2947271de3bd1927dc66a044da385de4da"],"basis":"shared function","functions":["get_article_urls","scrape_article"]},{"kind":"similar","provenance":"machine","score":0.44,"basis":"same product + CWE + description similarity"}]}]}}