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

CVE-2026-43629

llama.cpp b4882–b9058 Buffer Overflow in KV Cache State Restore

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

Moyen 49/100

Résumé

llama.cpp builds b4882 through b9058 contain a heap buffer overflow vulnerability in the KV cache state restore path where the state_read_data() function computes write size without overflow checking, allowing attackers with write access to the slot_save_path directory to corrupt heap memory. Attackers can craft malicious state files where cell_count multiplication overflows or exceeds tensor buffer allocation to write attacker-controlled bytes past buffer boundaries, potentially resulting in heap metadata corruption, model weight corruption, or arbitrary code execution via function pointer overwrite.

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 b4882 (inclus) à b9058 (inclus) — CNA (éditeur ou attributeur)
Ggml (1 ligne(s))
Ggml
ProduitVersionsCorrigé dansSource
Llama.cpp de b4882 (inclus) à b9058 (inclus) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

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:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:VulnCheck)
Faiblesse
CWE-787 · Corruption mémoire

Comment sont obtenues et calculées ces données