Security Resilience

CVE-2025-5302

DoS in run-llama/llama index

Published
25 August 2025
Modified
17 June 2026
CVSS Score v3 8.6
Click a component to see what it means
Raw vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
EPSS Score 0.0030 23th percentile
Risk Priority 63 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-5302 is a high-severity Uncontrolled Recursion (CWE-674) vulnerability in run-llama/llama index (named in the CVE record; NVD lists no product yet). Its CVSS base score is 8.6 (High).

Operationally, ranked at the 23th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and SC-5 (Denial-of-service Protection) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

A denial of service vulnerability exists in the JSONReader component of the run-llama/llama_index repository, specifically in version v0.12.37. The vulnerability is caused by uncontrolled recursion when parsing deeply nested JSON files, which can lead to Python hitting its maximum recursion…

more

depth limit. This results in high resource consumption and potential crashes of the Python process. The issue is resolved in version 0.12.38.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-96289Shared CWE-674
CVE-2024-44996Shared CWE-674
CVE-2026-44028Shared CWE-674
CVE-2026-33947Shared CWE-674
CVE-2025-10728Shared CWE-674
CVE-2026-107826Shared CWE-674
CVE-2026-26209Shared CWE-674
CVE-2023-1436Shared CWE-674
CVE-2026-5401Shared CWE-674
CVE-2026-47306Shared CWE-674

Affected Assets

run-llama
run-llama/llama index
named in the CVE record; NVD lists no product yet

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Input validation can reject or constrain data that would otherwise drive unbounded recursive calls.

DoS protection mechanisms limit the resource-exhaustion impact of uncontrolled recursion without eliminating the flaw.

System monitoring can observe anomalous resource consumption that signals runaway recursion after it begins.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect excessive recursion via static analysis or fuzzing.

prevents

Secure coding standards directly prohibit or constrain recursive constructs that could exhaust stack or memory.

finds

Capacity management includes monitoring and limits that mitigate resource exhaustion from runaway recursion.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-674, a class-level weakness, and none of its children carries one either.

References