CVE-2025-6208: run-llama/llama_index · Uncontrolled Resource Consumption
Affects run-llama/llama_indexSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium · fixed in 0.12.41 : update run-llama/llama_index when convenient.
Data as of 26 Oct 2026, 09:16 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.12.41
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 2 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| run-llamarun-llama/llama_index | Affected
| Fixed in– |
AI-suggested
European organizations should immediately upgrade the run-llama/llama_index library to version 0.12.41 or later, where the vulnerability is fixed. Until the upgrade is applied, implement strict resource limits at the operating system or container level to restrict memory usage of processes using the vulnerable component. Additionally, configure monitoring and alerting for abnormal memory consumption patterns in applications that utilize the SimpleDirectoryReader. If possible, limit the size and number of files in directories processed by the component to reduce risk. Conduct code reviews and dependency audits to identify any indirect usage of the vulnerable library in third-party applications. For environments where upgrading is delayed, consider isolating affected services to minimize impact on critical systems. Finally, maintain an inventory of applications using run-llama components to ensure comprehensive patching.
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.