{"schemaVersion":3,"id":"CVE-2025-15514","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"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 mtmd_helper_bitmap_init_from_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.","dates":{"published":"2026-01-12T23:03:52.922Z","modified":"2026-09-16T12:04:18.135Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00765,"percentile":0.5489,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.011000000000000072,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00776},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00765,"percentile":0.5489}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00765,"percentile":0.5489}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_7936F45A5FF13D0C","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/172df98b-07cd-41ea-a628-366f8cd525c0","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-395","name":"Use of NullPointerException Catch to Detect NULL Pointer Dereference","description":"Catching NullPointerException should not be used as an alternative to programmatic checks to prevent dereferencing a null pointer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/395.html"}],"affected":[{"vendor":"ollama","product":"ollama","name":"ollama","label":"ollama","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ v0.11.5-rc0, ≤ 0.13.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.11.6, ≤ 0.13.5","noFixRecorded":false,"fixedIn":null},{"text":"0.11.5","noFixRecorded":false,"fixedIn":null},{"text":"0.11.5:rc0","noFixRecorded":false,"fixedIn":null},{"text":"0.11.5:rc1","noFixRecorded":false,"fixedIn":null},{"text":"0.11.5:rc2","noFixRecorded":false,"fixedIn":null},{"text":"0.11.5:rc3","noFixRecorded":false,"fixedIn":null},{"text":"0.11.5:rc4","noFixRecorded":false,"fixedIn":null},{"text":"0.11.5:rc5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ v0.11.5-rc0, ≤ 0.13.5 | ≥ 0.11.6, ≤ 0.13.5 | 0.11.5 | 0.11.5:rc0 | 0.11.5:rc1 | 0.11.5:rc2 | 0.11.5:rc3 | 0.11.5:rc4 | 0.11.5:rc5","eol":null,"hubHref":"/vendor/ollama/ollama"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/172df98b-07cd-41ea-a628-366f8cd525c0","label":"huntr.com/bounties/172df98b-07cd-41ea-a628-366f8cd525c0","hostname":"huntr.com","tags":["Technical Description","Exploit","Patch","Third Party Advisory"]},{"url":"https://ollama.com/","label":"ollama.com","hostname":"ollama.com","tags":["Product"]},{"url":"https://https://github.com/ollama/ollama","label":"https//github.com/ollama/ollama","hostname":"https","tags":["Product"]},{"url":"https://www.vulncheck.com/advisories/ollama-multi-modal-image-processing-null-pointer-dereference","label":"www.vulncheck.com/advisories/ollama-multi-modal-image-processing-null-pointer-dereference","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-15514","label":"access.redhat.com/security/cve/CVE-2025-15514","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2428828","label":"bugzilla.redhat.com/show_bug.cgi?id=2428828","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15514.json","label":"security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15514.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-01-12T23:03:52.922Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-16T12:04:18.135Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T04:46:47.128Z","stale":false,"partial":false}}