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.
https://github.com/ggml-org/llama.cpp/releases/tag/b2731
https://github.com/ggml-org/llama.cpp/pull/6885
https://github.com/ggml-org/llama.cpp/issues/6774
https://github.com/ggml-org/llama.cpp/commit/0ead1f1072fdc70720f92e008a294dc74a826b1d
https://github.com/ggml-org/llama.cpp/blob/b2730/llama.cpp#L3002-L3004
Published: 2026-10-27
Updated: 2026-10-27
Base Score: 5.6
Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:C
Severity: Medium
Base Score: 6.1
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Severity: Medium
Base Score: 6.9
Vector: 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
Severity: Medium
EPSS: 0.0012