UBUNTU-CVE-2025-71439

Source
https://ubuntu.com/security/CVE-2025-71439
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71439.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-71439
Upstream
Published
2026-10-27T01:19:00Z
Modified
2026-10-28T20:16:32Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
  • 6.8 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
  • 6.8 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

llama.cpp before b5649 contains a heap out-of-bounds read vulnerability in llama_vocab::impl::print_info() that allows attackers to crash model loading via oversized special token IDs. Attackers can supply a crafted GGUF model with a short tokenizer.ggml.tokens array, causing llama-cli or llama-server to read past id_to_token and crash.

References

Affected packages

Ubuntu:26.10 / llama.cpp

Package

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

Affected ranges

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

Affected versions

Other
8681+dfsg-1
9721+dfsg-1ubuntu1
10438+dfsg-1
10438+dfsg-1ubuntu1

Ecosystem specific

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

Database specific

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

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
0 Unknown introduced version / All previous versions are affected

Affected versions

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

Ecosystem specific

{
    "binaries":  [
        {
            "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",
            "binary_version":  "8681+dfsg-1"
        }
    ]
}

Database specific

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