Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-58339

7.5 · HIGH
Published Jan 12, 2026 llamaindex CWE-770 EPSS 0.57% (45th pctl)

Overview

CVE-2024-58339 is a high-severity vulnerability affecting llamaindex llamaindex. It was published on January 12, 2026 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

LlamaIndex (run-llama/llama_index) versions up to and including 0.12.2 contain an uncontrolled resource consumption vulnerability in the VannaPack VannaQueryEngine implementation. The custom_query() logic generates SQL statements from a user-supplied prompt and executes them via vn.run_sql() without enforcing query execution limits In downstream deployments where untrusted users can supply prompts, an attacker can trigger expensive or unbounded SQL operations that exhaust CPU or memory resources, resulting in a denial-of-service condition. The vulnerable execution path occurs in llama_index/packs/vanna/base.py within custom_query().

Remediation

Check the references section for vendor advisories and patches from llamaindex. Update llamaindex to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
llamaindex llamaindex 0 Affected

Frequently Asked Questions

What is CVE-2024-58339?

CVE-2024-58339 is a high-severity vulnerability affecting llamaindex llamaindex. It was published on January 12, 2026 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2024-58339?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-58339?

Check the references section for vendor advisories and patches from llamaindex. Update llamaindex to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-58339?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-58339 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.