- Accueil
- Vulnérabilités
- CVE-2026-70640
CVE-2026-70640
llama.cpp b1886–b7445 Race Condition Use-After-Free via llama-android.cpp
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| llama.cpp | de b1886 (inclus) à b7445 (inclus) |
— | CNA (éditeur ou attributeur) |
Ggml (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Publication de la CVE (cve)
Références
- https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patchesPatch, Third Party Advisory
- https://github.com/ggml-org/llama.cpp/commit/5c0d18881e0e9794c96b2602736b758bac9d9388Patch
- https://github.com/ggml-org/llama.cpp/releases/tag/b7446Patch, Release Notes, Vendor Advisory
- https://www.vulncheck.com/advisories/llama-cpp-b1886-b7445-race-condition-use-after-free-via-llama-android-cppExploit, Third Party Advisory
- https://www.youtube.com/watch?v=_FKX5hDwgVE&t=1079s
- https://www.cyera.com/research/breaking-local-ai-runtimes-10-vulnerabilities-in-the-engine-behind-your-open-source-models
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)