CVE-2024-12704: LlamaIndex denial of service vulnerability
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
A vulnerability in LlamaIndex allows for a denial of service attack through improper exception handling during stream completion. Supplying incorrect input types can cause an infinite loop and service disruption.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- llama_index
- incident date
- 20 Mar 2025
- first reported
- 20 Mar 2025
- origin
- GitHub Advisory DatabaseVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2024-12704 · denial-of-service
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2025-03-20CVE-2024-12704: LlamaIndex Improper Handling of Exceptional Conditions vulnerabilityGitHub Advisory Database · github.com/advisories/GHSA-j3wr-m6xh-64hg
- 2025-03-20CVE-2024-12704: A vulnerability in the LangChainLLM class of the run-llama/llama_index repository, version v0.12.5, allows for a Denial of…NVD · nvd.nist.gov/vuln/detail/CVE-2024-12704
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2025-07-07LlamaIndex vulnerable to remote code execution in JsonPickleSerializer2 Disclosedon AIInfra vuln1 src
- 2025-07-07LlamaIndex vulnerable to DoS through recursive JSON parsing2 Disclosedon AIInfra vuln1 src
- 2024-05-16CVE-2024-4181: LlamaIndex RunGptLLM Command Injection2 Disclosedon AIInfra vuln1 src
- 2025-04-18CVE-2025-32790: Unauthorized App DSL Export Vulnerability in Dify2 Disclosedon AIInfra vuln1 src
- 2025-04-18CVE-2025-32796: Access Control Flaw in Dify LLM App Platform2 Disclosedon AIInfra vuln1 src
- 2025-04-18CVE-2025-32795: Authorization bypass vulnerability in Dify app management2 Disclosedon AIInfra vuln1 src