The `SimpleDirectoryReader` component in `llama_index.core` version 0.12.23 suffers from uncontrolled memory consumption due to a resource management flaw. The vulnerability arises because the user-specified file limit (`num_files_limit`) is applied after all files in a directory are loaded into memory. This can lead to memory exhaustion and degraded performance, particularly in environments with limited resources. The issue is resolved in version 0.12.41.
History

Mon, 02 Feb 2026 11:00:00 +0000

Type Values Removed Values Added
Description The `SimpleDirectoryReader` component in `llama_index.core` version 0.12.23 suffers from uncontrolled memory consumption due to a resource management flaw. The vulnerability arises because the user-specified file limit (`num_files_limit`) is applied after all files in a directory are loaded into memory. This can lead to memory exhaustion and degraded performance, particularly in environments with limited resources. The issue is resolved in version 0.12.41.
Title Uncontrolled Memory Consumption in run-llama/llama_index
Weaknesses CWE-400
References
Metrics cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: @huntr_ai

Published:

Updated: 2026-02-02T10:36:23.033Z

Reserved: 2025-06-17T17:30:57.097Z

Link: CVE-2025-6208

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-02-02T11:16:17.197

Modified: 2026-02-02T11:16:17.197

Link: CVE-2025-6208

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.