Resource Management Flaw in llama_index Core Affects Memory Consumption
CVE-2025-6208
What is CVE-2025-6208?
The SimpleDirectoryReader component in llama_index.core version 0.12.23 contains a vulnerability that leads to uncontrolled memory consumption. This issue occurs because the specified file limit (num_files_limit) is enforced only after the entire directory's contents are loaded into memory. As a result, this design flaw can cause significant memory exhaustion, especially in resource-constrained environments, leading to performance degradation. To mitigate this issue, users are encouraged to upgrade to version 0.12.41, where the vulnerability has been addressed.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
run-llama/llama_index < 0.12.41
References
CVSS V3.0
Timeline
Vulnerability published
Vulnerability Reserved
