Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-15514 — ollama

🟠 CVSS 7.5 — High ⚠️ Exploit Public CWE-395 NVD
7.5
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

CVE-2025-15514 is classified as CWE-395: Use of NullPointerException Catch to Detect NULL Pointer Dereference. Catching NullPointerException should not be used as an alternative to programmatic checks to prevent dereferencing a null pointer.

Affected software

CVE-2025-15514 is recorded against 1 package.

  • ollama

Timeline and source

Published on 12 January 2026 and last revised on 17 August 2026. A public exploit is known to exist, which raises the urgency of patching considerably. A vendor advisory or fix has been published. Record sourced from NVD.

References

https
huntr.com
ollama.com
www.vulncheck.com
access.redhat.com
bugzilla.redhat.com
security.access.redhat.com

Other advisories for this package

ollama has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-395: Use of NullPointerException Catch to Detect NULL Pointer Dereference) in other software:

Details

Severity HIGH
CVSS Score 7.5
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE CWE-395
Public Exploit ⚠️ Yes
Source NVD
Published 2026-01-12
Updated 2026-08-20
Modified 2026-08-17

Affected Packages

Software From version Fixed in
ollama

Similar Threats

Exploit Protection

Are you running ollama?

CVE-2025-15514 carries CVSS 7.5 High rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2025-15514 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2025