#1155144 llama.cpp: CVE-2026-133710

Package:
src:llama.cpp
Source:
src:llama.cpp
Submitter:
Moritz Mühlenhoff
Date:
2026-11-24 19:59:03 UTC
Severity:
normal
Tags:
#1155144#5
Date:
2026-11-24 19:07:05 UTC
From:
To:
Hi,

The following vulnerability was published for llama.cpp.

CVE-2026-133710[0]:
| llama.cpp b11003 before b12556 contains an integer overflow in the
| hrm_text loader load_arch_hparams() that allows attackers to bypass
| the block count check using crafted GGUF metadata. Attackers can
| supply a GGUF model whose layer factors wrap modulo 2^32, causing
| load_arch_tensors() to write tensor pointers past model.layers,
| corrupting heap memory and potentially enabling code execution.

https://github.com/ggml-org/llama.cpp/pull/32601
https://github.com/ggml-org/llama.cpp/commit/50518b64c6f2191a116d2760042f106c4b3387d7 (b12556)


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-133710
https://www.cve.org/CVERecord?id=CVE-2026-133710

Please adjust the affected versions in the BTS as needed.