You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
OR
*cpe:2.3:a:ollama:ollama:*:-:*:*:*:*:*:* versions from (including) 0.11.6 up to (including) 0.13.5
*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:*:*:*:*:*:*
VulnCheck: https://huntr.com/bounties/172df98b-07cd-41ea-a628-366f8cd525c0 Types: Exploit, Patch, Third Party Advisory
Added
Reference Type
VulnCheck: https://ollama.com/ Types: Product
Added
Reference Type
VulnCheck: https://www.vulncheck.com/advisories/ollama-multi-modal-image-processing-null-pointer-dereference Types: Third Party Advisory
New CVE Received from VulnCheck1/12/2026 6:15:51 PM
Action
Type
Old Value
New Value
Added
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.