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

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-10T13:21:30.866Z
- Modified: 2026-07-07T17:56:51.058Z
- Also known as: GHSA-7c85-87cp-mr6g, PYSEC-2026-1554
- Weaknesses: CWE-400, CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- run-llama run-llama/llama_index: from unspecified before 0.3.6
- llama-index (PyPI): from 0.12.15 before 0.12.21
- llamaindex llamaindex: before 0.3.6

## Every score

- @huntr_ai: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://huntr.com/bounties/cd7b9082-7d75-42e4-84f5-dbee23cbc467> (exploit, third-party-advisory, web)
- <https://github.com/run-llama/llama_index/commit/3c65db2947271de3bd1927dc66a044da385de4da> (patch, 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)

## Sources

- CVE List: [CVE-2025-1752](https://www.cve.org/CVERecord?id=CVE-2025-1752), CVE Terms of Use, modified 2025-10-15
- GitHub Advisory Database: [GHSA-7c85-87cp-mr6g](https://github.com/advisories/GHSA-7c85-87cp-mr6g), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-1752](https://nvd.nist.gov/vuln/detail/CVE-2025-1752), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1554](https://osv.dev/vulnerability/PYSEC-2026-1554), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-1752 · Whole record: https://cve.day/CVE-2025-1752.json · Rebuilt by cve.day 2026-11-25T22:58:57.889Z
