{"id":"CVE-2025-15514","aliases":[],"summary":"Ollama Multi-Modal Model Image Processing NULL Pointer Dereference","published_at":"2026-01-12T23:03:52.922Z","modified_at":"2026-09-16T12:04:18.135Z","products":[],"rating":{"severity":"high","score":8.7,"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","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0076500000432133675,"percentile":0.5619900226593018,"date":"2026-11-19T00:00:00Z"},"priority":10.7,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"Ollama/Ollama","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"v0.11.5-rc0"},{"last_affected":"0.13.5"}]}],"provider":"cvelistv5","source":"CVE-2025-15514","relation":"self"},{"ecosystem":"NVD","package":"ollama:ollama","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.11.6"},{"last_affected":"0.13.5"}]}],"versions":["0.11.5"],"provider":"nvd","source":"CVE-2025-15514","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-24/de-minimal-rhel8","ansible-automation-platform-24/de-minimal-rhel9","ansible-automation-platform-24/de-supported-rhel8","ansible-automation-platform-24/de-supported-rhel9","ansible-automation-platform-24/ee-minimal-rhel8","ansible-automation-platform-24/ee-minimal-rhel9","ansible-automation-platform-24/ee-supported-rhel8","ansible-automation-platform-24/ee-supported-rhel9","ansible-automation-platform-24/lightspeed-rhel8","ansible-automation-platform-24/platform-resource-runner-rhel8","ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8","ansible-automation-platform-25/ansible-dev-tools-rhel8","ansible-automation-platform-25/de-minimal-rhel8","ansible-automation-platform-25/de-minimal-rhel9","ansible-automation-platform-25/de-supported-rhel8","ansible-automation-platform-25/de-supported-rhel9","ansible-automation-platform-25/ee-cloud-services-rhel9","ansible-automation-platform-25/ee-minimal-rhel8","ansible-automation-platform-25/ee-minimal-rhel9","ansible-automation-platform-25/ee-supported-rhel8","ansible-automation-platform-25/ee-supported-rhel9","ansible-automation-platform-25/lightspeed-rhel8","ansible-automation-platform-25/platform-resource-runner-rhel8","ansible-automation-platform-26/ansible-dev-tools-rhel9","ansible-automation-platform-26/de-minimal-rhel9"],"package_count":34,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-15514"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2025-15514"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2025-15514","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2025-15514","license":"CC-BY-4.0","published_at":"2026-01-12T23:03:52.922Z","modified_at":"2026-09-16T12:04:18.135Z","summary":"Ollama Multi-Modal Model Image Processing NULL Pointer Dereference","details":"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.","severity":[{"type":"CVSS_V4","score":"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","source":"CVE-2025-15514"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"redhat-SADP:CVE-2025-15514"}],"affected":[{"ecosystem":"CVE","package":"Ollama/Ollama","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"v0.11.5-rc0"},{"last_affected":"0.13.5"}]}],"provider":"cvelistv5","source":"CVE-2025-15514","relation":"self"}],"product_status":[],"references":[{"type":"EXPLOIT","url":"https://huntr.com/bounties/172df98b-07cd-41ea-a628-366f8cd525c0"},{"type":"WEB","url":"https://ollama.com/"},{"type":"WEB","url":"https://https://github.com/ollama/ollama"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/ollama-multi-modal-image-processing-null-pointer-dereference"}]},{"provider":"nvd","source_id":"CVE-2025-15514","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15514","severity":[],"affected":[{"ecosystem":"NVD","package":"ollama:ollama","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.11.6"},{"last_affected":"0.13.5"}]}],"versions":["0.11.5"],"provider":"nvd","source":"CVE-2025-15514","relation":"self"}],"product_status":[],"references":[]},{"provider":"redhat-vex","source_id":"CVE-2025-15514","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2025-15514","license":"CC-BY-4.0","published_at":"2026-01-12T23:03:52.922Z","modified_at":"2026-03-16T08:31:21Z","summary":"Ollama: Ollama: Denial of Service via malformed image processing","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2025-15514"},{"type":"Red Hat","score":"Important","source":"CVE-2025-15514"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-24/de-minimal-rhel8","ansible-automation-platform-24/de-minimal-rhel9","ansible-automation-platform-24/de-supported-rhel8","ansible-automation-platform-24/de-supported-rhel9","ansible-automation-platform-24/ee-minimal-rhel8","ansible-automation-platform-24/ee-minimal-rhel9","ansible-automation-platform-24/ee-supported-rhel8","ansible-automation-platform-24/ee-supported-rhel9","ansible-automation-platform-24/lightspeed-rhel8","ansible-automation-platform-24/platform-resource-runner-rhel8","ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8","ansible-automation-platform-25/ansible-dev-tools-rhel8","ansible-automation-platform-25/de-minimal-rhel8","ansible-automation-platform-25/de-minimal-rhel9","ansible-automation-platform-25/de-supported-rhel8","ansible-automation-platform-25/de-supported-rhel9","ansible-automation-platform-25/ee-cloud-services-rhel9","ansible-automation-platform-25/ee-minimal-rhel8","ansible-automation-platform-25/ee-minimal-rhel9","ansible-automation-platform-25/ee-supported-rhel8","ansible-automation-platform-25/ee-supported-rhel9","ansible-automation-platform-25/lightspeed-rhel8","ansible-automation-platform-25/platform-resource-runner-rhel8","ansible-automation-platform-26/ansible-dev-tools-rhel9","ansible-automation-platform-26/de-minimal-rhel9"],"package_count":34,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-15514"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2025-15514"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15514.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-15514"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2428828"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-15514"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15514"},{"type":"WEB","url":"https://huntr.com/bounties/172df98b-07cd-41ea-a628-366f8cd525c0"},{"type":"WEB","url":"https://ollama.com/"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/ollama-multi-modal-image-processing-null-pointer-dereference"}]}],"references":[{"type":"EXPLOIT","url":"https://huntr.com/bounties/172df98b-07cd-41ea-a628-366f8cd525c0"},{"type":"WEB","url":"https://ollama.com/"},{"type":"WEB","url":"https://https://github.com/ollama/ollama"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/ollama-multi-modal-image-processing-null-pointer-dereference"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15514.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-15514"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2428828"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-15514"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15514"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2025-15514","url":"https://www.cve.org/CVERecord?id=CVE-2025-15514","license":"CC-BY-4.0","modified_at":"2026-09-16T12:04:18.135Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2025-15514","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15514","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2025-15514","url":"https://access.redhat.com/security/cve/CVE-2025-15514","license":"CC-BY-4.0","modified_at":"2026-03-16T08:31:21Z","relation":"self"}]}
