{"id":"CVE-2025-6208","state":"PUBLISHED","title":"Uncontrolled Memory Consumption in run-llama/llama_index","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.","publishedAt":"2026-02-02T10:36:23.033Z","updatedAt":"2026-02-02T17:46:53.711Z","severity":{"score":5.3,"label":"Medium","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["run-llama run-llama/llama_index"],"affected":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[{"version":"unspecified","status":"affected","lessThan":"0.12.41","versionType":"custom"}]}],"references":["https://huntr.com/bounties/7d722bb6-6567-4608-8b23-f95048d7605a","https://github.com/run-llama/llama_index/commit/53614e2f7913c0e86b58add9470b3c900b6c60b2"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/6xxx/CVE-2025-6208.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-6208","state":"PUBLISHED","datePublished":"2026-02-02T10:36:23.033Z","dateUpdated":"2026-02-02T17:46:53.711Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2025-06-17T17:30:57.097Z"},"containers":{"cna":{"title":"Uncontrolled Memory Consumption in run-llama/llama_index","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[{"version":"unspecified","status":"affected","lessThan":"0.12.41","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/7d722bb6-6567-4608-8b23-f95048d7605a"},{"url":"https://github.com/run-llama/llama_index/commit/53614e2f7913c0e86b58add9470b3c900b6c60b2"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","type":"CWE","lang":"en","description":"CWE-400 Uncontrolled Resource Consumption"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2026-02-02T10:36:23.033Z"},"source":{"advisory":"7d722bb6-6567-4608-8b23-f95048d7605a","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-02T17:46:45.289617Z","id":"CVE-2025-6208","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-02T17:46:53.711Z"}}]}}}