{"id":"CVE-2025-6208","published":"2026-02-02T10:36:23Z","modified":"2026-02-02T17:46:53Z","title":"Uncontrolled Memory Consumption in run-llama/llama_index","vendor":"run-llama","product":"run-llama/llama_index","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00516,"percentile":0.37176,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://huntr.com/bounties/7d722bb6-6567-4608-8b23-f95048d7605a","tags":[]},{"url":"https://github.com/run-llama/llama_index/commit/53614e2f7913c0e86b58add9470b3c900b6c60b2","tags":[]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":7.44},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"run-llama","affectedVersions":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[">= unspecified, < 0.12.41"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-02T17:46:45.289617Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"llama-index-core","vulnerableRanges":["<0.12.41"],"patched":["0.12.41"],"from":["GHSA-488g-hw5f-x29p","PYSEC-2026-1560"],"provenance":"source"}],"summary":{"text":"The SimpleDirectoryReader component in run-llama's llama_index.core library applies its user-specified file limit only after all files in a directory have been loaded into memory, causing uncontrolled memory consumption. An attacker with network access and no authentication or user interaction, able to get a directory of files processed, could exhaust memory and degrade performance, particularly on resource-limited systems.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:49Z"},"euvd":{"id":"EUVD-2025-206599","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-5302","published":"2025-08-25","fixed":"0.12.38","kev":false,"link":{"from":"CVE-2025-5302","to":"CVE-2025-6208","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:llama-index-core","fromFixed":"0.12.38","toFixed":"0.12.41","daysApart":161}]}},{"cve":"CVE-2025-5472","published":"2025-07-07","fixed":"0.12.38","kev":false},{"cve":"CVE-2025-3108","published":"2025-07-06","fixed":"0.12.41","kev":false},{"cve":"CVE-2025-6208","published":"2026-02-02","fixed":"0.12.41","kev":false},{"cve":"CVE-2025-6209","published":"2025-07-07","fixed":"0.12.41","kev":false},{"cve":"CVE-2025-7647","published":"2025-09-27","fixed":"0.13.0","kev":false}],"package":"PyPI:llama-index-core"}}