llama.cpp b10398 before b11301 contains an integer overflow vulnerability in gguf_init_from_reader that allows attackers to bypass tensor element-count validation by supplying shapes whose product wraps to zero. Attackers can craft GGUF files with enormous tensor extents that overflow ggml_nbytes() and strides, causing out-of-bounds memory access when buffers are sized from wrapped byte counts.
https://github.com/ggml-org/llama.cpp/releases/tag/b11301
https://github.com/ggml-org/llama.cpp/pull/29384
https://github.com/ggml-org/llama.cpp/issues/29383
https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc
https://github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L701
Published: 2026-10-27
Updated: 2026-10-27
Base Score: 6.1
Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:C
Severity: Medium
Base Score: 6.6
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/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:L/VA:H/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00126