UBUNTU-CVE-2026-43628

Source
https://ubuntu.com/security/CVE-2026-43628
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-43628.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-43628
Upstream
  • CVE-2026-43628
Published
2026-08-07T00:00:00Z
Modified
2026-08-07T17:45:13.167934591Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.5 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

llama.cpp builds b3978 through b9058 contain an integer underflow and out-of-bounds read vulnerability in the DRY sampler that allows unauthenticated attackers to trigger a heap buffer underflow by sending a crafted HTTP request with dryallowedlength set to INT32_MIN to the /v1/completions or /v1/chat/completions endpoints. Attackers can exploit this vulnerability to crash the server with SIGSEGV causing denial of service for all connected users, or corrupt token sampling probabilities by reading garbage values from memory before the allocated buffer.

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