CVE-2026-33298
highpriority · track · 0EPSS 0.005 · 42 %ileEUUSEPSS · scored 2026-10-27
llama.cpp is an inference of several LLM models in C/C++. Prior to b7824, an integer overflow vulnerability in the `ggml_nbytes` function allows an attacker to bypass memory validation by crafting a GGUF file with specific tensor dimensions. This causes `ggml_nbytes` to return a significantly smaller size than required (e.g., 4MB instead of Exabytes), leading to a heap-based buffer overflow when the application subsequently processes the tensor. This vulnerability allows potential Remote Code Execution (RCE) via memory corruption. b7824 contains a fix.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-33298cnnvd
- https://github.com/ggml-org/llama.cpp/releasesPatchcnnvd
- https://github.com/ggml-org/llama.cpp/releases/tag/b7824cnnvd
- https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-96jg-mvhq-q7q7cnnvd
- https://github.com/ggml-org/llama.cpp/releases/tag/b7824enisa_euvd
- https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-96jg-mvhq-q7q7enisa_euvd
- https://github.com/ggml-org/llama.cpp/releases/tag/b7824Release Notesnvd
- https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-96jg-mvhq-q7q7ExploitVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan