CVE-2025-15514
published high CVSS 4.0 · 8.7Ollama Multi-Modal Model Image Processing NULL Pointer Dereference
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ollama | — | Ollamav0.11.5-rc0 through 0.13.5 · Other versions: unknown | Affected | Not stated | VulnCheck |
| Red Hat | — | ansible-automation-platform-24/de-minimal-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/de-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/de-supported-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/de-supported-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/ee-minimal-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/ee-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/ee-supported-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
Show 28 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | ansible-automation-platform-24/ee-supported-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/lightspeed-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/platform-resource-runner-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/ansible-dev-tools-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/de-minimal-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/de-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/de-supported-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/de-supported-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/ee-cloud-services-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/ee-minimal-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/ee-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/ee-supported-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/ee-supported-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/lightspeed-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/platform-resource-runner-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/ansible-dev-tools-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/de-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/de-supported-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/ee-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/ee-supported-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/lightspeed-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/mcp-tools-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/platform-resource-runner-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform/ee-minimal-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform/ee-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-tech-preview/ansible-devspaces-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
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.
A flaw was found in Ollama's multi-modal model image processing functionality. A remote attacker can exploit this by sending specially crafted base64-encoded image data to the `/api/chat` endpoint. This malformed input can lead to a null pointer dereference, causing a segmentation fault and crashing the runner process. This results in a denial of service (DoS) condition, making the model unavailable until the service is restarted.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Ollama | Ollama | v0.11.5-rc0 through 0.13.5 (affected · custom)Default: unknown | VulnCheck · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-395 Use of NullPointerException Catch to Detect NULL Pointer Dereference
- CWE-395 Use of NullPointerException Catch to Detect NULL Pointer Dereference
References
7- https://access.redhat.com/security/cve/CVE-2025-15514
- RHBZ#2428828 https://bugzilla.redhat.com/show_bug.cgi?id=2428828
- https://https://github.com/ollama/ollama
- https://huntr.com/bounties/172df98b-07cd-41ea-a628-366f8cd525c0
- https://ollama.com/
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15514.json
- https://www.vulncheck.com/advisories/ollama-multi-modal-image-processing-null-pointer-dereference
Provider assertions
3VulnCheck · cna
Ollama Multi-Modal Model Image Processing NULL Pointer Dereference
redhat-SADP · adp
Ollama: Ollama: Denial of Service via malformed image processing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 404a3270bc6902ac04836a1bc7907060056b05253f8936846b818d76669498c3
- Ingested
- 23 Sep 2026, 08:38:18 UTC
- Source record
- Official CVE record