{"id":"CVE-2024-12055","aliases":["CVE-2024-12055","GHSA-89qx-m49c-8crf","GO-2025-3558"],"related":["CGA-rp78-v53p-m83p"],"kind":"vulnerability","state":"published","title":"DoS using malicious gguf model file in ollama/ollama","summary":"A vulnerability in Ollama versions <=0.3.14 allows a malicious user to create a customized gguf model file that can be uploaded to the public Ollama server. When the server processes this malicious model, it crashes, leading to a Denial of Service (DoS) attack. The root cause of the issue is an out-of-bounds read in the gguf.go file.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability in Ollama versions <=0.3.14 allows a malicious user to create a customized gguf model file that can be uploaded to the public Ollama server. When the server processes this malicious model, it crashes, leading to a Denial of Service (DoS) attack. The root cause of the issue is an out-of-bounds read in the gguf.go file.","source":"cvelist"},{"lang":"en","text":"Ollama Allows Out-of-Bounds Read in github.com/ollama/ollama","format":"markdown","source":"go"},{"lang":"es","text":"Una vulnerabilidad en las versiones de Ollama anteriores a la 0.3.14 permite a un usuario malicioso crear un archivo de modelo gguf personalizado que puede subirse al servidor público de Ollama. Cuando el servidor procesa este modelo malicioso, se bloquea, lo que provoca un ataque de denegación de servicio (DoS). La causa principal del problema es una lectura fuera de los límites en el archivo gguf.go.","source":"nvd"}],"published":"2025-03-20T10:08:47.923Z","modified":"2026-09-10T03:50:23.086Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"ollama","product":"ollama/ollama","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.3.14"}],"ecosystem":"Go","package":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","source":"go"},{"ranges":[{"status":"affected","lastAffected":"0.3.14"}],"vendor":"ollama","product":"ollama","cpe":"cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.com/bounties/7b111d55-8215-4727-8807-c5ed4cf1bfbe","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12055","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ollama/ollama","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-89qx-m49c-8crf","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-03-20T17:55:04.341Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-12055","url":"https://www.cve.org/CVERecord?id=CVE-2024-12055","licence":"CVE Terms of Use","modified":"2025-03-20T19:03:30.843Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-89qx-m49c-8crf","url":"https://github.com/advisories/GHSA-89qx-m49c-8crf","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:23.086Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3558","url":"https://pkg.go.dev/vuln/GO-2025-3558","licence":"CC-BY-4.0","modified":"2026-06-26T18:59:15.657Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-12055","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12055","licence":"Public domain","modified":"2026-06-17T06:58:57.807Z"}],"updatedAt":"2026-11-25T22:58:52.354Z","epss":{"score":0.00817,"percentile":0.58278,"date":"2026-12-01T12:00:22.000Z"}}