Skip to main content
← All vulnerabilities
CVE-2025-6208PYSEC-2026-1560GHSA-488G-HW5F-X29P

Uncontrolled Memory Consumption in run-llama/llama_index

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.12.41
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • run-llama run-llama/llama_index

    fixed in 0.12.41

  • llama-index-corePyPI

    fixed in 0.12.41

References 2

huntr.com

GitHub · run-llama/llama_index