CVE-2024-21825

Severity CVSS v4.0:
Pending analysis
Type:
CWE-190 Integer Overflow or Wraparound
Publication date:
26/02/2024
Last modified:
27/04/2026

Description

A heap-based buffer overflow vulnerability exists in the GGUF library GGUF_TYPE_ARRAY/GGUF_TYPE_STRING parsing 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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:* 2024-01-09 (excluding)