CVE-2024-58399

llama.cpp before b2731 Out-of-Bounds Read via GGUF Tensor Offsets

  • Medium 6.9

Description

llama.cpp before b2731 contains an out-of-bounds read vulnerability in llama_model_loader that allows attackers to read memory outside the mapped model file via crafted GGUF tensor offsets. Attackers can supply a crafted or truncated GGUF model file with arbitrary 64-bit tensor offsets to crash the process or load adjacent process memory as model weights.

Key facts

Published
27 Oct 2026
Last changed
2 Nov 2026
Assigned by
VulnCheck
EPSS
0.12% likely to be exploited in the next 30 days, higher than 1.883% of CVEs (scores for 17 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 6.9CVSS 4.0, Mediumfrom the CNA (VulnCheck)CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
  • 6.1CVSS 3.1, Mediumfrom the CNA (VulnCheck)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
ggml-orgllama.cpp
  • Default status: unaffected
  • b1046 up to but excluding b2731 (affected)

Timeline

  1. 27 Oct 2026 Published

Weakness

References