CVE-2026-7482

Source
https://cve.org/CVERecord?id=CVE-2026-7482
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-7482.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-7482
Aliases
Downstream
Related
Published
2026-05-04T12:38:28.464Z
Modified
2026-08-07T11:51:26.382996815Z
Severity
  • 8.8 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/AU:Y/R:A/V:D/RE:L/U:Red CVSS Calculator
Summary
Ollama heap out-of-bounds read in GGUF tensor parsing leaks server process memory to unauthenticated remote attackers
Details

Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader. The /api/create endpoint accepts an attacker-supplied GGUF file in which the declared tensor offset and size exceed the file's actual length; during quantization in fs/ggml/gguf.go and server/quantization.go (WriteTo()), the server reads past the allocated heap buffer. The leaked memory contents may include environment variables, API keys, system prompts, and concurrent users' conversation data, and can be exfiltrated by uploading the resulting model artifact through the /api/push endpoint to an attacker-controlled registry. The /api/create and /api/push endpoints have no authentication in the upstream distribution. Default deployments bind to 127.0.0.1, but the documented OLLAMA_HOST=0.0.0.0 configuration is widely used in practice (large public-internet exposure observed).

Database specific
{
    "cna_assigner": "Echo",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7482.json",
    "cwe_ids": [
        "CWE-125"
    ]
}
References

Affected packages

Git / github.com/ollama/ollama

Affected ranges

Type
GIT
Repo
https://github.com/ollama/ollama
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.17.1"
        }
    ],
    "cpe": "cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.0.1
v0.0.10
v0.0.11
v0.0.12
v0.0.13
v0.0.14
v0.0.15
v0.0.16
v0.0.17
v0.0.18
v0.0.19
v0.0.2
v0.0.20
v0.0.21
v0.0.3
v0.0.4
v0.0.5
v0.0.6
v0.0.7
v0.0.8
v0.0.9
v0.1.0
v0.1.1
v0.1.10
v0.1.11
v0.1.12
v0.1.13
v0.1.14
v0.1.15
v0.1.16
v0.1.17
v0.1.18
v0.1.19
v0.1.2
v0.1.20
v0.1.21
v0.1.22
v0.1.23
v0.1.24
v0.1.25
v0.1.26
v0.1.27
v0.1.28
v0.1.29
v0.1.3
v0.1.30
v0.1.32
v0.1.32-rc1
v0.1.32-rc2
v0.1.33
v0.1.33-rc1
v0.1.33-rc2
v0.1.33-rc3
v0.1.33-rc4
v0.1.33-rc5
v0.1.33-rc6
v0.1.33-rc7
v0.1.34
v0.1.34-rc1
v0.1.35
v0.1.35-rc1
v0.1.36
v0.1.37
v0.1.38
v0.1.39
v0.1.39-rc1
v0.1.39-rc2
v0.1.4
v0.1.40
v0.1.40-rc1
v0.1.41
v0.1.42
v0.1.43
v0.1.44
v0.1.45
v0.1.45-rc1
v0.1.45-rc2
v0.1.45-rc3
v0.1.45-rc4
v0.1.45-rc5
v0.1.46
v0.1.47
v0.1.48
v0.1.49-rc1
v0.1.49-rc10
v0.1.49-rc11
v0.1.49-rc12
v0.1.49-rc13
v0.1.49-rc14
v0.1.49-rc2
v0.1.49-rc3
v0.1.49-rc4
v0.1.49-rc5
v0.1.49-rc6
v0.1.49-rc7
v0.1.49-rc8
v0.1.49-rc9
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.1.9
v0.10.0
v0.10.0-rc0
v0.10.0-rc1
v0.10.0-rc2
v0.10.0-rc3
v0.10.0-rc4
v0.10.1
v0.11.1
v0.11.10
v0.11.11
v0.11.11-rc0
v0.11.11-rc1
v0.11.11-rc2
v0.11.11-rc3
v0.11.2
v0.11.3
v0.11.3-rc0
v0.11.4
v0.11.4-rc0
v0.11.5
v0.11.5-rc0
v0.11.5-rc1
v0.11.5-rc2
v0.11.5-rc3
v0.11.5-rc4
v0.11.5-rc5
v0.11.6
v0.11.6-rc0
v0.11.7
v0.11.7-rc0
v0.11.7-rc1
v0.11.8
v0.11.8-rc0
v0.11.9
v0.11.9-rc0
v0.12.0
v0.12.0-rc0
v0.12.0-rc1
v0.12.1
v0.12.1-rc0
v0.12.1-rc1
v0.12.1-rc2
v0.12.10
v0.12.10-rc0
v0.12.10-rc1
v0.12.11
v0.12.11-rc0
v0.12.11-rc1
v0.12.2
v0.12.2-rc0
v0.12.3
v0.12.4
v0.12.4-rc0
v0.12.4-rc1
v0.12.4-rc2
v0.12.4-rc3
v0.12.4-rc4
v0.12.4-rc5
v0.12.4-rc6
v0.12.4-rc7
v0.12.5
v0.12.5-rc0
v0.12.6
v0.12.6-rc0
v0.12.6-rc1
v0.12.7
v0.12.7-rc0
v0.12.7-rc1
v0.12.8
v0.12.8-rc0
v0.12.9
v0.12.9-rc0
v0.13.0
v0.13.0-rc0
v0.13.1
v0.13.1-rc0
v0.13.1-rc1
v0.13.1-rc2
v0.13.2
v0.13.2-rc0
v0.13.2-rc1
v0.13.2-rc2
v0.13.3
v0.13.3-rc0
v0.13.3-rc1
v0.13.4
v0.13.4-rc0
v0.13.4-rc1
v0.13.4-rc2
v0.13.5
v0.13.5-rc0
v0.13.5-rc1
v0.14.0
v0.14.0-rc0
v0.14.0-rc1
v0.14.0-rc10
v0.14.0-rc11
v0.14.0-rc2
v0.14.0-rc3
v0.14.0-rc4
v0.14.0-rc5
v0.14.0-rc6
v0.14.0-rc7
v0.14.0-rc8
v0.14.0-rc9
v0.14.1
v0.14.2
v0.14.2-rc0
v0.14.2-rc1
v0.14.3
v0.14.3-rc0
v0.14.3-rc1
v0.14.3-rc2
v0.14.3-rc3
v0.15.0
v0.15.0-rc0
v0.15.0-rc1
v0.15.0-rc2
v0.15.0-rc3
v0.15.0-rc4
v0.15.0-rc5
v0.15.0-rc6
v0.15.1
v0.15.1-rc0
v0.15.1-rc1
v0.15.2
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