VDB
Sign up
HIGH8.6

PYSEC-2026-1561

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

Quick fix

PYSEC-2026-1561 — llama-index-core: upgrade to the fixed version with the command below.

pip install --upgrade 'llama-index-core>=0.12.38'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/llama-index-core
Introduced in: 0Fixed in: 0.12.38
Fixpip install --upgrade 'llama-index-core>=0.12.38'

References