UBUNTU-CVE-2024-58399

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

llama.cpp before b2731 contains an out-of-bounds read vulnerability in llama_model_loader that allows attackers to read memory outside the mapped model file via crafted GGUF tensor offsets. Attackers can supply a crafted or truncated GGUF model file with arbitrary 64-bit tensor offsets to crash the process or load adjacent process memory as model weights.

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/2024/UBUNTU-CVE-2024-58399.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/2024/UBUNTU-CVE-2024-58399.json"