CVE-2024-21836 HIGH

CVE-2024-21836

Vendor Llama.cpp
Product llama.cpp
Weakness CWE-190
Published February 26, 2024
Last update November 4, 2025

CVSS base score

8.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

A heap-based buffer overflow vulnerability exists in the GGUF library header.n_tensors 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.

Key dates

02Disclosure timeline

February 26, 2024 CVE published
November 4, 2025 Record updated