CVE-2024-21802: Ggml Llama.cpp

Critical severity, CVSS 9.8. EPSS: 1.4% chance of exploitation in the next 30 days.

A heap-based buffer overflow vulnerability exists in the GGUF library info->ne functionality of llama.cpp Commit 18c2e17. A specially crafted .gguf file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.

Affected products

  • Ggml Llama.cpp: before 2024-01-09 (fixed in 2024-01-09)

Published 2024-02-26. Last modified 2026-06-17.