{"cve":"CVE-2025-6208","nvd":{"published":"2026-02-02T11:16:17.197","modified":"2026-06-17T10:01:23.310","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-400"],"references":["https://github.com/run-llama/llama_index/commit/53614e2f7913c0e86b58add9470b3c900b6c60b2","https://huntr.com/bounties/7d722bb6-6567-4608-8b23-f95048d7605a"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:22:27.261130201+00:00"},"epss":{"cve":"CVE-2025-6208","score":0.00415,"percentile":0.35783,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-488g-hw5f-x29p","url":"https://osv.dev/vulnerability/GHSA-488g-hw5f-x29p","summary":"llama-index-core vulnerable to Uncontrolled Resource Consumption","modified":"2026-07-07T17:56:05.561083177Z","packages":[{"ecosystem":"PyPI","name":"llama-index-core","purl":"pkg:pypi/llama-index-core","ranges":["<0.12.41"],"fixed":["0.12.41"]}]},{"id":"PYSEC-2026-1560","url":"https://osv.dev/vulnerability/PYSEC-2026-1560","summary":"llama-index-core vulnerable to Uncontrolled Resource Consumption","modified":"2026-07-07T17:47:31.636710916Z","packages":[{"ecosystem":"PyPI","name":"llama-index-core","purl":"pkg:pypi/llama-index-core","ranges":["<0.12.41"],"fixed":["0.12.41"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}