CVE-2026-43629
CVE-2026-43629 · llama.cpp b4882–b9058 Buffer Overflow in KV Cache State Restore
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 9.2 · Critique · EPSS 0,7%
- Publication
- Mise à jour
Pile logicielle: system
Produits et versions concernés
llama.cpp
- Versions du logiciel
- ≥ b4882, ≤ b9058: Concernée (custom)
- ≥ 0.16.1, ≤ 0.17.1: Concernée (semver)
Aucun correctif publié
llama.cpp Debian:14
- Versions du logiciel
- 10108+dfsg-1
- 10108+dfsg1-1
- 10108+dfsg1-2
- 10192+dfsg-1
- 10192+dfsg-2
- 10192+dfsg-2~exp1
- 10271+dfsg-1
- 10344+dfsg-1
- 10438+dfsg-1
- 1:0.1.2+dfsg-1~exp1
- 1:0.2.0+dfsg1-1
- 1:0.2.0+dfsg1-1~exp1
- 1:0.4.0+dfsg-1
- 1:0.4.1+dfsg-1
- 1:0.5.0+dfsg-1
- 1:0.5.0+dfsg-2
- 1:0.6.0+dfsg-1
- 1:0.6.0+dfsg-2
- 1:0.7.0+dfsg-1
- 1:0.7.0+dfsg-2
- 5151+dfsg-1~exp2
- 5151+dfsg-1~exp3
- 5318+dfsg-1
- 5318+dfsg-2
- 5713+dfsg-1
- 5760+dfsg-1
- 5760+dfsg-2
- 5760+dfsg-3
- 5760+dfsg-4
- 5882+dfsg-1
- 5882+dfsg-2
- 5882+dfsg-3
- 5882+dfsg-3~exp1
- 5882+dfsg-3~exp2
- 5882+dfsg-3~exp3
- 5882+dfsg-4
- 6641+dfsg-1
- 6641+dfsg-2
- 6641+dfsg-3
- 7593+dfsg-1
- 7593+dfsg-2
- 7593+dfsg-3
- 7965+dfsg-1
- 8064+dfsg-1
- 8064+dfsg-2
- 8461+dfsg-1
- 8611+dfsg-1
- 8681+dfsg-1
- 8870+dfsg-1
- 8941+dfsg-1
- 9009+dfsg-1
- 9071+dfsg-1
- 9190+dfsg-1
- 9413+dfsg-1
- 9555+dfsg-1
- 9601+dfsg-1
- 9721+dfsg-1
- 9895+dfsg-1
- 9895+dfsg-2
- 9895+dfsg-3
- 9951+dfsg-1
- 9951+dfsg-2
- 9951+dfsg-3
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
llama.cpp Ubuntu:26.10
- Versions du logiciel
- 8681+dfsg-1
- 9721+dfsg-1ubuntu1
- 10438+dfsg-1
- 10438+dfsg-1ubuntu1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
llama.cpp Ubuntu:26.04:LTS
- Versions du logiciel
- 5882+dfsg-2
- 8064+dfsg-1ubuntu1
- 8681+dfsg-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié