CVE Explorer
CVE-2026-33298
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 Ex
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-190","description":"CWE-190: Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:439a60c6314eefea200184f300eb24827d955be528f25755d134e62e7a9b3c35 · sha256:9d1fa035d40c5da0… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:439a60c6314eefea200184f300eb24827d955be528f25755d134e62e7a9b3c35 · sha256:9d1fa035d40c5da0… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"llama.cpp","vendor":"ggml-org","versions":[{"status":"affected","version":"< b7824"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:439a60c6314eefea200184f300eb24827d955be528f25755d134e62e7a9b3c35 · sha256:9d1fa035d40c5da0… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:439a60c6314eefea200184f300eb24827d955be528f25755d134e62e7a9b3c35 · sha256:9d1fa035d40c5da0… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-190","description":"CWE-190: Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:439a60c6314eefea200184f300eb24827d955be528f25755d134e62e7a9b3c35 · sha256:9d1fa035d40c5da0… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:439a60c6314eefea200184f300eb24827d955be528f25755d134e62e7a9b3c35 · sha256:9d1fa035d40c5da0… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/ggml-org/llama.cpp/releases/tag/b7824","tags":["x_refsource_MISC"],"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b7824"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:439a60c6314eefea200184f300eb24827d955be528f25755d134e62e7a9b3c35 · sha256:9d1fa035d40c5da0… · /containers/cna/references/1
{"name":"https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-96jg-mvhq-q7q7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-96jg-mvhq-q7q7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:439a60c6314eefea200184f300eb24827d955be528f25755d134e62e7a9b3c35 · sha256:9d1fa035d40c5da0… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.