UBUNTU-CVE-2026-43631

Source
https://ubuntu.com/security/CVE-2026-43631
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-43631.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-43631
Upstream
  • CVE-2026-43631
Published
2026-08-07T00:00:00Z
Modified
2026-08-07T17:45:13.285313092Z
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 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.

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-43631.json"