Integer overflow in llama.cpp - CVE-2026-33298

 

Integer overflow in llama.cpp - CVE-2026-33298

Published: November 23, 2026


Vulnerability identifier: #VU169572
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-33298
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow in the ggml_nbytes function. A remote attacker can use a specially crafted GGUF file with specific tensor dimensions, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

llama.cpp

How to mitigate CVE-2026-33298

Install updates from vendor's website.

llama.cpp - update to b7824

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins