CVE-2025-6208

published 2 Feb 2026 · updated 2 Feb 2026

Uncontrolled Memory Consumption in run-llama/llama_index

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.12.41.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
run-llama<0.12.410.12.41

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-6208 severity on Zeptric[![CVE-2025-6208](https://zeptric.io/badge/cve/CVE-2025-6208.svg)](https://zeptric.io/cve/CVE-2025-6208)