1. Accueil
  2. Vulnérabilités
  3. CVE-2026-70640

CVE-2026-70640

llama.cpp b1886–b7445 Race Condition Use-After-Free via llama-android.cpp

Publiée le 6 août 2026 · modifiée le 13 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 39/100

Résumé

llama.cpp builds b1886 through b7445 contain a race condition use-after-free vulnerability in the LLaMA-Android JNI wrapper where bench_1model() and free_1context() lack synchronization, allowing Thread A to operate on freed memory while Thread B concurrently frees the llama_context. Attackers can exploit this by performing heap spray with attacker-controlled data containing a fake vtable to hijack the vtable pointer at offset +0x30, causing llama_batch_allocr::clear() to dereference arbitrary memory and achieve remote code execution.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

ggml-org (1 ligne(s))
ggml-org
ProduitVersionsCorrigé dansSource
llama.cpp de b1886 (inclus) à b7445 (inclus) — CNA (éditeur ou attributeur)
Ggml (1 ligne(s))
Ggml
ProduitVersionsCorrigé dansSource
Llama.cpp de b1886 (inclus) à b7445 (inclus) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:disclosure@vulncheck.com)
Faiblesse
CWE-362 · Autre (CWE-362)

Comment sont obtenues et calculées ces données