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

Tue, 03 Feb 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1050
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Mon, 02 Feb 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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: 2026-02-02T10:36:23.033Z

Updated: 2026-02-02T17:46:53.711Z

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

Link: CVE-2025-6208

cve-icon Vulnrichment

Updated: 2026-02-02T17:46:50.404Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-02-03T16:44:36.630

Link: CVE-2025-6208

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-02-02T10:36:23Z

Links: CVE-2025-6208 - Bugzilla