CVE-2025-15514
CVE-2025-15514 is a high-severity vulnerability in Ollama with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-395.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v4: 8.7
- EPSS exploit prediction: 1% (49th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-2400
- Weakness: CWE-395
- Affected product: Ollama
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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 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 severe is CVE-2025-15514?
- CVE-2025-15514 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2025-15514 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (49th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-15514?
- CVE-2025-15514 primarily affects Ollama. In total, 8 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2025-15514?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-15514 have an EU (EUVD) identifier?
- Yes. CVE-2025-15514 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-2400.
- When was CVE-2025-15514 published?
- CVE-2025-15514 was published on 2026-01-12 and last updated on 2026-06-30.
References
- https://https://github.com/ollama/ollama
- https://huntr.com/bounties/172df98b-07cd-41ea-a628-366f8cd525c0
- https://ollama.com/
- https://www.vulncheck.com/advisories/ollama-multi-modal-image-processing-null-pointer-dereference
- https://access.redhat.com/security/cve/CVE-2025-15514
- https://bugzilla.redhat.com/show_bug.cgi?id=2428828
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15514.json
Affected products (8)
- cpe:2.3:a:ollama:ollama:*:-:*:*:*:*:*:*
- cpe:2.3:a:ollama:ollama:0.11.5:-:*:*:*:*:*:*
- cpe:2.3:a:ollama:ollama:0.11.5:rc0:*:*:*:*:*:*
- cpe:2.3:a:ollama:ollama:0.11.5:rc1:*:*:*:*:*:*
- cpe:2.3:a:ollama:ollama:0.11.5:rc2:*:*:*:*:*:*
- cpe:2.3:a:ollama:ollama:0.11.5:rc3:*:*:*:*:*:*
- cpe:2.3:a:ollama:ollama:0.11.5:rc4:*:*:*:*:*:*
- cpe:2.3:a:ollama:ollama:0.11.5:rc5:*:*:*:*:*:*
More vulnerabilities in Ollama
- CVE-2026-42249 — Critical (CVSS 9.8): Ollama for Windows contains a Remote Code Execution vulnerability in its update mechanism due to improper handling of…
- CVE-2026-42248 — Critical (CVSS 9.8): Ollama for Windows does not perform integrity or authenticity verification of downloaded update executables. Unlike…
- CVE-2025-63389 — Critical (CVSS 9.8): A critical authentication bypass vulnerability exists in Ollama platform's API endpoints in versions prior to and…
- CVE-2026-7482 — Critical (CVSS 9.1): Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader. The /api/create…
- CVE-2024-37032 — High (CVSS 8.8): Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model…
- CVE-2024-39720 — High (CVSS 8.2): An issue was discovered in Ollama before 0.1.46. An attacker can use two HTTP requests to upload a malformed GGUF file…
Other CWE-395 vulnerabilities
- CVE-2025-58142 — Critical (CVSS 9.8): [This CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to…
- CVE-2025-27466 — Critical (CVSS 9.8): [This CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to…
- CVE-2022-2832 — High (CVSS 7.5): A flaw was found in Blender 3.3.0. A null pointer dereference exists in source/blender/gpu/opengl/gl_backend.cc that…
- CVE-2024-27661 — Medium (CVSS 6.5): D-Link DIR-823G A1V1.0.2B05 was discovered to contain Null-pointer dereferences in sub_4484A8(). This vulnerability…
- CVE-2024-27659 — Medium (CVSS 6.5): D-Link DIR-823G A1V1.0.2B05 was discovered to contain Null-pointer dereferences in sub_42AF30(). This vulnerability…
- CVE-2024-27658 — Medium (CVSS 6.5): D-Link DIR-823G A1V1.0.2B05 was discovered to contain Null-pointer dereferences in sub_4484A8(). This vulnerability…