{"id":"CVE-2025-6208","aliases":["CVE-2025-6208","GHSA-488g-hw5f-x29p","PYSEC-2026-1560"],"related":[],"kind":"vulnerability","state":"published","title":"Uncontrolled Memory Consumption in run-llama/llama_index","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El componente 'SimpleDirectoryReader' en 'llama_index.core' versión 0.12.23 sufre de consumo de memoria descontrolado debido a un fallo en la gestión de recursos. La vulnerabilidad surge porque el límite de archivos especificado por el usuario ('num_files_limit') se aplica después de que todos los archivos de un directorio se cargan en la memoria. Esto puede provocar el agotamiento de la memoria y un rendimiento degradado, particularmente en entornos con recursos limitados. El problema se resuelve en la versión 0.12.41.","source":"nvd"}],"published":"2026-02-02T10:36:23.033Z","modified":"2026-07-07T17:56:05.561Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS: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,"rating":"MEDIUM"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"0.12.41","status":"affected"}],"vendor":"run-llama","product":"run-llama/llama_index","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.12.41"}],"ecosystem":"PyPI","package":"llama-index-core","purl":"pkg:pypi/llama-index-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.12.41"}],"ecosystem":"PyPI","package":"llama-index-core","purl":"pkg:pypi/llama-index-core","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/7d722bb6-6567-4608-8b23-f95048d7605a","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/run-llama/llama_index/commit/53614e2f7913c0e86b58add9470b3c900b6c60b2","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6208","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/run-llama/llama_index","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/llama-index-core","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-488g-hw5f-x29p","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-02-02T17:46:45.289Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-6208","url":"https://www.cve.org/CVERecord?id=CVE-2025-6208","licence":"CVE Terms of Use","modified":"2026-02-02T17:46:53.711Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-488g-hw5f-x29p","url":"https://github.com/advisories/GHSA-488g-hw5f-x29p","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:05.561Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-6208","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6208","licence":"Public domain","modified":"2026-06-17T10:01:23.310Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1560","url":"https://osv.dev/vulnerability/PYSEC-2026-1560","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:31.636Z"}],"updatedAt":"2026-11-25T22:59:10.971Z","epss":{"score":0.00415,"percentile":0.37784,"date":"2026-12-01T12:00:22.000Z"}}