synced 8 MIN AGO
01 Record

CVE-2024-21836

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

HighPUBLISHEDCNA: talos
CNA base score8.8 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

02 Description

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

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
1.33% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 70.6% of scored records. A rank, not a probability.
NVD base score
9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Analyzed. NVD last modified this record on 2026-06-17.
Red Hat severity
No Red Hat rating. Red Hat rates the CVEs that affect its products.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-02-26 16:07Z2 YR AGO
Last updated
2025-11-04 18:23Z11 MO AGO
Reserved
2024-01-18
Assigning CNA
talos
Record state
PUBLISHED
Severity
High (CVSS 8.8)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
  • CWE-190Integer Overflow or WraparoundBase
  • CWE-787Out-of-bounds WriteBase
Data version
5.2
Document digest
56a064d384a10df66b31f5bba8401a1f52188c30e177d43de3bbf2d9269aced2

05 Affected products

VendorProductVersionsPlatforms
llama.cppllama.cppCommit 18c2e17—
ggerganovllama.cpp18c2e17—

06 References