Use After Free in Ggml-org Llama.cpp

CVE-2026-43631

llama.cpp builds b7492 through the latest b9060 contains a use-after-free vulnerability in the vocab pointer of llama-server when the --sleep-idle-seconds feature is enabled, allowing unauthenticated remote attackers to execute arbitrary c…

Vulnerability class: Race Condition

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-43631?
CVE-2026-43631 is a high-severity vulnerability in Ggml-org Llama.cpp, classified under Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition). CVSS score: 8.1/10. Published 2026-08-06.
How severe is CVE-2026-43631?
High severity. CVSS v3 base score is 8.1 out of 10.