CVE-2025-1752
HIGH 7.5CVSS 3.0LlamaIndex Vulnerable to Denial of Service (DoS)
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.
- Published
- 10 May 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-400CWE-674
- Also known as
- GHSA-7c85-87cp-mr6gPYSEC-2026-1554
- Sources
- NVDJSONOSV GHSA-7c85-87cp-mr6gJSONOSV PYSEC-2026-1554JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | llamaindex | llamaindexcpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:* |
< 0.3.6 | 0.3.6 |
| OSV | PyPI | llama-index | >= 0.12.15, < 0.12.21 | 0.12.21 |
References
- https://github.com/run-llama/llama_index/commit/3c65db2947271de3bd1927dc66a044da385de4da · Patch, WEB
- https://huntr.com/bounties/cd7b9082-7d75-42e4-84f5-dbee23cbc467 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-1752 · ADVISORY
- https://github.com/run-llama/llama_index · PACKAGE
- https://pypi.org/project/llama-index · PACKAGE
- https://github.com/advisories/GHSA-7c85-87cp-mr6g · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 10 May 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 May 2025)