CVE-2024-42478: Arbitrary address read vulnerability in llama.cpp
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
An unsafe pointer member in the rpc_tensor structure of llama.cpp allows arbitrary address reading. A patch was released in version b3561.
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.cpp
- incident date
- 12 Aug 2024
- first reported
- 12 Aug 2024
- origin
- NVDVulnerability 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-42478 · llama.cpp · memory-corruption
- record
- created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z · json
Sources · 1
- 2024-08-12CVE-2024-42478: llama.cpp provides LLM inference in C/C++.NVD · nvd.nist.gov/vuln/detail/CVE-2024-42478
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
- 2024-08-12CVE-2024-42479: Arbitrary address write vulnerability in llama.cpp2 Disclosedon AIInfra vuln1 src
- 2024-08-12CVE-2024-42477: Global buffer overflow in llama.cpp RPC tensor handling2 Disclosedon AIInfra vuln1 src
- 2024-07-22CVE-2024-41130: Null pointer dereference vulnerability in llama.cpp2 Disclosedon AIInfra vuln1 src
- 2024-04-26CVE-2024-32878: Llama.cpp heap uninitialized variable vulnerability2 Disclosedon AIInfra vuln1 src
- 2024-02-26Heap-based buffer overflow in llama.cpp header.n_kv2 Disclosedon AIInfra vulnSupply chain1 src
- 2024-02-26Heap-based buffer overflow in llama.cpp info-ne2 Disclosedon AIInfra vulnSupply chain1 src