CVE-2026-43629Ggml · Llama.cpp
Vulnerability data via NVD (ingested)
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.
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
vuln:CVE-2026-43629product:"Ggml Llama.cpp"http.html:"Llama.cpp"More intel sources (5)
vuln:CVE-2026-43629vulnerabilities.cve_id: CVE-2026-43629CVE-2026-43629CVE-2026-43629"CVE-2026-43629" exploit -site:nvd.nist.gov