
CVE catalog
CVE-2026-43631
llama.cpp builds b7492 through the latest b9060…
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 code. Attackers can trigger the vulnerability by sending requests to affected endpoints while the server transitions to sleep mode, causing concurrent worker threads to dereference a freed vocab pointer that can be reclaimed with attacker-controlled data to achieve remote code execution.
- Severity
- Critical · CVSS 9.2
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.57% · Oct 27, 2026
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [],
"fixed_versions": [],
"distribution_packages": [
{
"name": "llama.cpp",
"ranges": [
{
"fixed": "",
"introduced": "b7492",
"last_affected": "b9060",
"start_excluding": ""
}
],
"ecosystem": "cpe",
"fixed_version": "",
"provider_record_id": "NVD-CVE-2026-43631"
},
{
"name": "llama.cpp",
"distro": "debian",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "14",
"versions": [
"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"
],
"ecosystem": "deb",
"fixed_version": "",
"provider_record_id": "DEBIAN-CVE-2026-43631"
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
Observed:
References
- [https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-43631]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-43631]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43631.json]
- [https://www.vulncheck.com/advisories/llama-cpp-b7492-b9060-use-after-free-rce-via-llama-server]
[FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]