Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-6208: CWE-400 Uncontrolled Resource Consumption in run-llama run-llama/llama_index

0
Medium
VulnerabilityCVE-2025-6208cvecve-2025-6208cwe-400
Published: Mon Feb 02 2026 (02/02/2026, 10:36:23 UTC)
Source: CVE Database V5
Vendor/Project: run-llama
Product: run-llama/llama_index

Description

CVE-2025-6208 is a medium-severity vulnerability in the SimpleDirectoryReader component of run-llama's llama_index library (version 0. 12. 23). It causes uncontrolled memory consumption because the user-defined file limit is applied only after all files in a directory are loaded into memory, potentially leading to memory exhaustion and degraded performance. This flaw affects environments with limited resources and can result in denial of service due to resource exhaustion. The vulnerability does not impact confidentiality or integrity and requires no authentication or user interaction to exploit. It is fixed in version 0. 12. 41. European organizations using affected versions should update promptly and monitor resource usage to mitigate risks.

AI-Powered Analysis

AILast updated: 02/02/2026, 11:15:40 UTC

Technical Analysis

CVE-2025-6208 is a resource exhaustion vulnerability classified under CWE-400, found in the SimpleDirectoryReader component of the run-llama/llama_index library, specifically in version 0.12.23. The vulnerability arises because the component loads all files from a directory into memory before applying the user-specified limit on the number of files to process (num_files_limit). This design flaw leads to uncontrolled memory consumption, as the system may attempt to load an excessive number of files into memory simultaneously, causing memory exhaustion. This can degrade system performance or cause crashes, particularly in resource-constrained environments such as cloud instances with limited RAM or embedded systems. The vulnerability does not require any privileges or user interaction to be triggered, making it remotely exploitable if the library is used in exposed services. The issue is resolved in version 0.12.41, where the file limit is enforced prior to loading files into memory, preventing excessive resource consumption. There are no known exploits in the wild at this time, and the CVSS v3.0 base score is 5.3 (medium severity), reflecting the impact on availability without affecting confidentiality or integrity.

Potential Impact

For European organizations, the primary impact of CVE-2025-6208 is the potential for denial of service through memory exhaustion when processing directories with many files using the vulnerable version of the llama_index library. This can disrupt business operations, especially for organizations relying on AI or data processing pipelines that integrate run-llama components. Systems with limited memory resources, such as edge devices or smaller cloud instances, are particularly vulnerable. While the vulnerability does not compromise data confidentiality or integrity, the availability impact can lead to downtime, degraded performance, and increased operational costs. Organizations in sectors with high reliance on AI-driven document processing or indexing, such as finance, healthcare, and government, may face operational risks if unpatched. Additionally, service providers hosting applications using this library could experience customer impact and reputational damage if affected by outages.

Mitigation Recommendations

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.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
@huntr_ai
Date Reserved
2025-06-17T17:30:57.097Z
Cvss Version
3.0
State
PUBLISHED

Threat ID: 698083b8f9fa50a62f370596

Added to database: 2/2/2026, 11:00:08 AM

Last enriched: 2/2/2026, 11:15:40 AM

Last updated: 2/2/2026, 12:05:21 PM

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats