CVE-2025-15514

Source
https://cve.org/CVERecord?id=CVE-2025-15514
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-15514.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-15514
Downstream
Published
2026-01-12T23:15:51.957Z
Modified
2026-04-10T05:21:52.673300Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Ollama 0.11.5-rc0 through current version 0.13.5 contain a null pointer dereference vulnerability in the multi-modal model image processing functionality. When processing base64-encoded image data via the /api/chat endpoint, the application fails to validate that the decoded data represents valid media before passing it to the mtmdhelperbitmapinitfrom_buf function. This function can return NULL for malformed input, but the code does not check this return value before dereferencing the pointer in subsequent operations. A remote attacker can exploit this by sending specially crafted base64 image data that decodes to invalid media, causing a segmentation fault and crashing the runner process. This results in a denial of service condition where the model becomes unavailable to all users until the service is restarted.

References

Affected packages

Git / github.com/ollama/ollama

Affected ranges

Type
GIT
Repo
https://github.com/ollama/ollama
Events
Introduced
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0.11.6"
        },
        {
            "last_affected": "0.13.5"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.11.5-NA"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.11.5-rc0"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.11.5-rc1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.11.5-rc2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.11.5-rc3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.11.5-rc4"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.11.5-rc5"
        }
    ]
}

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.2.0
v0.2.1
v0.2.2
v0.2.2-rc1
v0.2.2-rc2
v0.2.3
v0.2.4
v0.2.5
v0.2.6
v0.2.7
v0.2.8
v0.2.8-rc1
v0.2.8-rc2
v0.3.0
v0.3.1
v0.3.10
v0.3.10-rc1
v0.3.11
v0.3.11-rc1
v0.3.11-rc2
v0.3.11-rc3
v0.3.11-rc4
v0.3.12
v0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