Uncontrolled Resource Consumption Vulnerability in LlamaIndex by LlamaIndex.ai
CVE-2024-58339

8.7HIGH

Key Information:

Vendor

Run-llama

Vendor
CVE Published:
12 January 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2024-58339?

The LlamaIndex (run-llama/llama_index) product has a vulnerability in its VannaPack VannaQueryEngine, where the custom_query() function generates and executes SQL statements based on user input without any limits on execution resources. This flaw allows untrusted users to exploit the system by providing prompts that can lead to bloated, resource-intensive SQL operations. As a result, such operations can deplete CPU or memory resources, causing a denial-of-service condition for the application. The issue is located in the llama_index/packs/vanna/base.py file within the custom_query() method.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.

Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.

Affected Version(s)

llama_index 0 <= 0.12.2

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

LifeTeam2024
.