llamaCVEVulnerability Intelligence
/
llama.cpp

CVE-2026-70638

llama.cpp b1886–b7445 Integer Overflow via new_1batch() in llama-android.cpp

Specific setups onlySin parche publicadointeger overflow
Descargar PNG JSON
CVSS 4.0
8.5
Alta
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 Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos11 fuente
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición104 dDesde la divulgación, 6 ago 2026, 10:35 a. m.
Detección83 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. No hay versión corregida: aplique mitigaciones.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Monitoreo
Detectada +2
Verificada
6 ago 26
7 ago 26
29 oct 26
8 nov 26
16 nov 26
19 nov 26
6 ago 26
1 sept 26
28 sept 26
24 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-70638 divulgada · CVSS 8.5 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

¿Qué significa?An integer overflow in the LLaMA-Android JNI wrapper of llama.cpp can corrupt heap memory. The advisory says this can lead to denial of service or arbitrary code execution in Android applications that use the binding.
¿Quién está afectado?Builds b1886 through b7445 of llama.cpp are affected, but only where an Android application uses the LLaMA-Android binding. Check the build tag of your llama.cpp copy and whether your app includes the LLaMA-Android JNI wrapper.
¿Qué hacer?No fixed build is listed in the checked facts, so no upgrade target can be named from them. Watch the llama.cpp project for a release newer than b7445 and move to it once it is published.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affected llama.cpp builds b1886 through b7445“llama.cpp builds b1886 through b7445 contain an integer overflow vulnerability in the LLaMA-Android JNI wrapper”
02
Application uses the LLaMA-Android binding“on Android applications using the LLaMA-Android binding”
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:P
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
llama.cpp≥ b1886 ≤ b7445
b1886
b7445
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
llama.cpp
Sin parche — — —
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
Hunt-Benito/one-multiply-too-many-cve-2026-70638-llama-cpp-android-jni-integer-overflow
1
Ver los 1 repositorios de GitHub
Hunt-Benito/one-multiply-too-many-cve-2026-70638-llama-cpp-android-jni-integer-overflow

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Registro
EscenarioGENERALVulnCheck
Referencias
Parchehttps://github.com/ggml-org/llama.cpp/commit/5c0d18881e0e9794c96b2602736b758bac9d9388
Exploithttps://github.com/Hunt-Benito/one-multiply-too-many-cve-2026-70638-llama-cpp-android-jni-integer-overflow
Otrahttps://github.com/ggml-org/llama.cpp/releases/tag/b7446
Otrahttps://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches
Otrahttps://www.vulncheck.com/advisories/llama-cpp-b1886-b7445-integer-overflow-via-new-1batch-in-llama-android-cpp

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.