Read the docs
TI-2025-05616 Aliases CVE-2025-6208GHSA-488g-hw5f-x29p

Uncontrolled Memory Consumption in run-llama/llama_index

Priority MEDIUM 57CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00415 36th percentileScored 2026-11-07
Fix Partial run-llama/llama_index (run-llama): 0.12.41llama-index-core (PyPI): 0.12.41Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
run-llamarun-llama/llama_indexbefore 0.12.410.12.41Patch availableCNA
—llama-index-core (PyPI)before 0.12.410.12.41Patch availableGHSA-488g-hw5f-x29p
  • run-llama/llama_index Vendorrun-llama Affected before 0.12.41 Fixed in 0.12.41 Patch available CNA
  • llama-index-core (PyPI) Vendor— Affected before 0.12.41 Fixed in 0.12.41 Patch available GHSA-488g-hw5f-x29p

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*——run-llama
  • cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:* Versions — — ·run-llama

Remediation

  • Fix · CNA run-llama/llama_index (run-llama) Fixed in 0.12.41
  • Fix · GHSA-488g-hw5f-x29p llama-index-core (PyPI) Fixed in 0.12.41 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift LightspeedAffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-6208
  2. 2026-10-03 Alias added: GHSA-488g-hw5f-x29p

References

  • TI-2025-01545 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2025-01507 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2024-11960 SQL Injection to RCE in run-llama/llama_index CVSS 3.1CRITICAL 9.8
  • TI-2024-11094 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2024-03068 Command Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2024-02902 Prompt Injection leading to Arbitrary Code Execution in run-llama/llama_index CVSS 3.0CRITICAL 9.8
See all 27 →

Sources