CVE-2026-133710

high

Description

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.

References

https://www.vulncheck.com/advisories/llama-cpp-b11003-before-b12556-heap-out-of-bounds-write-via-hrm-text-model-loader

https://github.com/ggml-org/llama.cpp/releases/tag/b12556

https://github.com/ggml-org/llama.cpp/pull/32601

https://github.com/ggml-org/llama.cpp/commit/50518b64c6f2191a116d2760042f106c4b3387d7

https://github.com/ggml-org/llama.cpp/blob/b12555/src/models/hrm-text.cpp

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-131537

Details

Source: Mitre, NVD

Published: 2026-11-20

Updated: 2026-11-20

CVSS v3

Base Score: 7.8

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High

CVSS v4

Base Score: 8.5

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Severity: High