INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2025-5302

LlamaIndex affected by a Denial of Service (DOS) in JSONReader

CVE-2025-5302 ยท 2025-08-26 high

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Denial of service
Affected
llama-index-core (PyPI)
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
EPSS
0.3% chance of exploitation in 30 days

How it works, in short

Deeply nested JSON input causes unbounded recursion in the reader, exceeding Python's recursion limit and exhausting resources or crashing the process. (Our summary, written by a model. The source text is below.)

Details

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 depth limit. This results in high resource consumption and potential crashes of the Python process. The issue is resolved in version 0.12.38.

References

Source: GitHub Advisory Database, used under CC BY 4.0.