All vulnerabilities

Servers and applications

CVE-2025-15514

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…

Severity
High 8.7
Published
12 Jan 2026
Last changed
17 Aug 2026
Added to UpHeron
1 Nov 2026
Exploit chance
0.8% in the next 30 daysHigher than 56% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-395
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS 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
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
OllamaServers and applications · cpe:a:ollama:ollama
  • From 0.11.6 up to 0.13.5
  • Version 0.11.5
  • Version 0.11.5-rc5
  • Version 0.11.5-rc4
All 8 release lines
  • Version 0.11.5-rc0
  • Version 0.11.5-rc1
  • Version 0.11.5-rc2
  • Version 0.11.5-rc3
  • Version 0.11.5-rc4
  • Version 0.11.5-rc5
  • Version 0.11.5
  • From 0.11.6 up to 0.13.5

About Ollama

software for running large language models (LLMs) on a local computer or in the cloud

From Wikidata, CC0 1.0.
Docker Hub pulls
200,724,007Docker Hub, 15 Nov 2026
GitHub stars
187,005GitHub, 15 Nov 2026
Forks
19,091GitHub, 15 Nov 2026
Latest release
v0.40.16GitHub, 15 Nov 2026
Released
9 Nov 2026GitHub
License
MIT LicenseWikidata
Written in
GoWikidata
First released
8 Jul 2023Wikidata
First published on GitHub
26 Jun 2023GitHub

Vulnerabilities in Ollama

In our list
28
Published in the last 12 months
13
Critical, last 12 months
1
High, last 12 months
9
Known exploited
0
Search the list for Ollama

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-15514
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-15514