llamaCVEVulnerability Intelligence
/
llama.cpp

CVE-2026-43622

llama.cpp b1886–b7445 Double Free via llama-android.cpp

Specific setups onlyParche disponibledouble free
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úblicos0Ninguno conocido
Parche1 versiónb7446
Exposición104 dDesde la divulgación, 6 ago 2026, 10:27 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. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Modificada
Explotación
Remediación
Monitoreo
Detectada +2
Verificada
6 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-43622 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 a double free vulnerability in the LLaMA-Android JNI wrapper where new_1batch() allocates memory using malloc() while free_1batch() deallocates it using the C++ delete operator, causing heap metadata corruption. Attackers can trigger this memory management mismatch to cause denial of service through process crashes or potentially achieve arbitrary code execution depending on allocator state.

Affects llama.cpp builds b1886 through b7445 that use the LLaMA-Android JNI wrapper. The fix is in b7446.

¿Qué significa?The LLaMA-Android JNI wrapper mismatches memory management: new_1batch() allocates memory with malloc(), and the matching free path releases it in a way that frees the same memory twice. The advisory says this can crash the process (denial of service) and, depending on allocator state, may allow arbitrary code execution through heap metadata corruption.
¿Quién está afectado?Builds of llama.cpp from b1886 through b7445 are in the affected range, and the bug is in the LLaMA-Android JNI wrapper. To check a build, compare its build tag (for example, the tag shown by the version output) against that range.
¿Qué hacer?Upgrade to llama.cpp b7446 or later, which contains the fix.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affects llama.cpp builds b1886 through b7445“Affecting llama.cpp >= b1886, <= b7445”
02
Bug is in the LLaMA-Android JNI wrapper (new_1batch/free_1batch)“in the LLaMA-Android JNI wrapper where new_1batch() allocates memory using malloc()”
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
Corregida b7446 — —
Versiones corregidasb7446
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALVulnCheck
Referencias
Parchehttps://github.com/ggml-org/llama.cpp/commit/5c0d18881e0e9794c96b2602736b758bac9d9388
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-double-free-via-llama-android-cpp

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