llama.cpp b10398 before b11301 contains an integer overflow vulnerability in gguf_init_from_reader that allows attackers to bypass tensor element-count validation by supplying shapes whose product wraps to zero. Attackers can craft GGUF files with enormous tensor extents that overflow ggml_nbytes() and strides, causing out-of-bounds memory access when buffers are sized from wrapped byte counts.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116829.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "b10398"
},
{
"fixed": "b11301"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0.1.0"
},
{
"fixed": "0.6.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "2149c00f4442dc59302e134a02e4c99d5f7ed9fc"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "b11301",
"range": [
{
"fixed": "2149c00f4442dc59302e134a02e4c99d5f7ed9fc"
}
],
"source": "REFERENCES_TAG"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116829.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "327008579970446684198592764916826877732",
"length": 1590
},
"id": "CVE-2026-116829-14a49ada",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc",
"target": {
"file": "ggml/src/ggml.c",
"function": "ggml_new_tensor_impl"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "306806189849612191089111408122884716135",
"length": 13012
},
"id": "CVE-2026-116829-175cdd58",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc",
"target": {
"file": "ggml/src/gguf.cpp",
"function": "gguf_init_from_reader"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"151617382865492608495037475346857875900",
"26617089450192489583597841553388092763",
"299746848554397945435673906492247271710"
],
"threshold": 0.9
},
"id": "CVE-2026-116829-2f436cb1",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc",
"target": {
"file": "ggml/src/ggml.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"86125955495481757442445399983476606326",
"223484148196014233879030570814555648817",
"31101579815421514831460345759875474999",
"3228141914162085994084903930886695179",
"173252202570372690622550372905511393549",
"288561244025134565176274276115378736225",
"51763181196258974679012940833410897613",
"243962899491721986022916865640666706903",
"110541158335155739614350480674182421891",
"76497975123502622992641479407361679718",
"6130720641754833590901443915510699417",
"210100815621069141953415013490008692092"
],
"threshold": 0.9
},
"id": "CVE-2026-116829-554ee113",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc",
"target": {
"file": "ggml/src/gguf.cpp"
}
}
]
"2026-11-04T07:03:34Z"