CVE-2025-6208run-llama/llama_index
Medium 5.3 No auth needed
Follow: this CVE · run-llama · run-llama/llama_index We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.0
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Feb 2, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for run-llama/llama_index.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | llama-index-core |
< 0.12.41 |
0.12.41 |
pip install "llama-index-core>=0.12.41" |
| PyPI | llama-index-core |
< 0.12.41 |
0.12.41 |
pip install "llama-index-core>=0.12.41" |
Per OSV / GitHub Advisories (GHSA-488g-hw5f-x29p, PYSEC-2026-1560). Check the version in your lockfile before upgrading.
Affected products
- run-llama · run-llama/llama_index
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.