{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-70638","published":"2026-08-06T22:18:28.633000Z","last_modified":"2026-10-29T21:17:30.890000Z","status":"Analyzed","cvss":{"version":"4.0","score":8.5,"severity":"HIGH","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":true,"cwes":["CWE-122","CWE-190"],"cpes":[{"criteria":"cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*","part":"a","vendor":"ggml","product":"llama.cpp","version_start_including":"b1886","version_end_including":"b7445"}],"cpes_truncated":false,"vendors":["ggml"],"products":["ggml/llama.cpp"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":51,"links":{"html_es":"/es/cve/CVE-2026-70638/","html_en":"/en/cve/CVE-2026-70638/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-70638","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-70638"},"untrusted":{"vendor_name":"Ggml","product_name":"Llama.cpp","desc_en":"llama.cpp builds b1886 through b7445 contain an integer overflow vulnerability in the LLaMA-Android JNI wrapper where the new_1batch() function multiplies sizeof(llama_seq_id) by an attacker-controlled n_seq_max parameter without overflow validation, causing heap buffer allocation to wrap and allocate insufficient memory. Attackers can exploit this by providing a crafted n_seq_max value through a malicious model file or JNI call to trigger heap corruption and achieve denial of service or arbitrary code execution on Android applications using the LLaMA-Android binding.","affected":[{"untrusted_vendor":"ggml-org","untrusted_product":"llama.cpp","versions":[]}],"references":[{"url":"https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/5c0d18881e0e9794c96b2602736b758bac9d9388","tags":["Patch"]},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b7446","tags":["Patch","Release Notes","Vendor Advisory"]},{"url":"https://www.vulncheck.com/advisories/llama-cpp-b1886-b7445-integer-overflow-via-new-1batch-in-llama-android-cpp","tags":["Third Party Advisory"]}]}}