CVE-2025-6208
published medium CVSS 3.0 · 5.3Uncontrolled Memory Consumption in run-llama/llama_index
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| run-llama | — | run-llama/llama_indexunspecified to < 0.12.41 | Affected | Not stated | @huntr_ai |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| run-llama | run-llama/llama_index | unspecified to < 0.12.41 (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-400 CWE-400 Uncontrolled Resource Consumption
References
2Provider assertions
2@huntr_ai · cna
Uncontrolled Memory Consumption in run-llama/llama_index
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d31b4f7bfcdbe3a0888aec365aecdbf9744b8115d22e10f052c9400e5aaf4efd
- Ingested
- 23 Sep 2026, 08:57:43 UTC
- Source record
- Official CVE record