CVE-2025-6208
MEDIUM 5.3CVSS 3.0llama-index-core vulnerable to Uncontrolled Resource Consumption
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.
- Published
- 2 Feb 2026
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Deferred
- Weakness
- CWE-400
- Also known as
- GHSA-488g-hw5f-x29pPYSEC-2026-1560
- Sources
- NVDJSONOSV GHSA-488g-hw5f-x29pJSONOSV PYSEC-2026-1560JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | PyPA | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | llama-index-core | < 0.12.41 | 0.12.41 |
References
- https://github.com/run-llama/llama_index/commit/53614e2f7913c0e86b58add9470b3c900b6c60b2 · WEB
- https://huntr.com/bounties/7d722bb6-6567-4608-8b23-f95048d7605a · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-6208 · ADVISORY
- https://github.com/run-llama/llama_index · PACKAGE
- https://pypi.org/project/llama-index-core · PACKAGE
- https://github.com/advisories/GHSA-488g-hw5f-x29p · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 2 Feb 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Feb 2026)