UBUNTU-CVE-2026-43632

Source
https://ubuntu.com/security/CVE-2026-43632
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-43632.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-43632
Upstream
  • CVE-2026-43632
Published
2026-08-07T00:00:00Z
Modified
2026-08-07T17:45:14.655320904Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.2 (Critical) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

llama.cpp builds b7492 through the latest b9060 contains a use-after-free vulnerability in llama-server affecting six tokenization endpoints (/tokenize, /detokenize, /infill, /apply-template, /rerank, and /anthropic/counttokens) that bypass the task queue and access ctxserver.vocab directly on HTTP worker threads. Attackers can exploit a time-of-check-time-of-use race condition where the main thread destroys and frees vocab after the synchronization lock is released but before the handler finishes using it, causing a crash or potential code execution when --sleep-idle-seconds is configured.

References

Affected packages

Ubuntu:26.04:LTS / llama.cpp

Package

Name
llama.cpp
Purl
pkg:deb/ubuntu/llama.cpp?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

Other
5882+dfsg-2
8064+dfsg-1ubuntu1
8681+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "8681+dfsg-1",
            "binary_name": "libllama0"
        },
        {
            "binary_version": "8681+dfsg-1",
            "binary_name": "llama.cpp"
        },
        {
            "binary_version": "8681+dfsg-1",
            "binary_name": "llama.cpp-examples"
        },
        {
            "binary_version": "8681+dfsg-1",
            "binary_name": "llama.cpp-tests"
        },
        {
            "binary_version": "8681+dfsg-1",
            "binary_name": "llama.cpp-tools"
        },
        {
            "binary_version": "8681+dfsg-1",
            "binary_name": "llama.cpp-tools-extra"
        },
        {
            "binary_version": "8681+dfsg-1",
            "binary_name": "python3-gguf"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-43632.json"