{"schemaVersion":3,"id":"CVE-2024-12055","aliases":["CGA-5hjw-2rvc-78c6","CGA-77g6-4qgv-mwxr","CGA-8r67-2c2x-p5m5","CGA-mmmc-56vm-wxc3","GHSA-89qx-m49c-8crf","GO-2025-3558","CGA-3x85-ph7m-5884","CGA-qhvx-mw45-wp8c"],"status":"published","duplicateOf":null,"title":"DoS using malicious gguf model file in ollama/ollama","description":"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.","dates":{"published":"2025-03-20T10:08:47.923Z","modified":"2025-03-20T19:03:30.843Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Go","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00817,"percentile":0.56675,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.016000000000000042,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00801},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00787,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00787,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00787,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00787,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00787,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00787,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00817,"percentile":0.56675}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00801,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00817,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00817,"percentile":0.56675}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_3491866D7158AE8B","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/7b111d55-8215-4727-8807-c5ed4cf1bfbe","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"chainguard","product":"k8sgpt","name":"k8sgpt","label":"k8sgpt","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/k8sgpt","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"mods","name":"mods","label":"mods","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mods","purlType":"apk","versions":[{"text":"< 1.8.1-r14","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.1-r14","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ollama-fips","name":"ollama-fips","label":"ollama-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ollama-fips","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"k8sgpt","name":"k8sgpt","label":"k8sgpt","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/k8sgpt","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"mods","name":"mods","label":"mods","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/mods","purlType":"apk","versions":[{"text":"< 1.8.1-r14","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.1-r14","eol":null,"hubHref":null},{"vendor":"github.com/ollama","product":"ollama","name":"github.com/ollama/ollama","label":"ollama","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/ollama/ollama","purlType":"golang","versions":[{"text":"≤ 0.3.14","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 0.3.14 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ollama","product":"ollama","name":"ollama","label":"ollama","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.3.14","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.3.14","eol":null,"hubHref":"/vendor/ollama/ollama"},{"vendor":"ollama","product":"ollama/ollama","name":"ollama/ollama","label":"ollama/ollama","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, ≤ latest","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, ≤ latest","eol":null,"hubHref":"/vendor/ollama/ollamaollama"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/7b111d55-8215-4727-8807-c5ed4cf1bfbe","label":"huntr.com/bounties/7b111d55-8215-4727-8807-c5ed4cf1bfbe","hostname":"huntr.com","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12055.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12055.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12055","label":"nvd.nist.gov/vuln/detail/CVE-2024-12055","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ollama/ollama","label":"github.com/ollama/ollama","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-89qx-m49c-8crf","label":"github.com/advisories/GHSA-89qx-m49c-8crf","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:14955-1"],"duplicates":["CVE-2025-0313"],"related":["CGA-RP78-V53P-M83P","OPENSUSE-SU-2025:14955-1"]},"timeline":[{"kind":"published","date":"2025-03-20T10:08:47.923Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-20T19:03:30.843Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T17:20:15.585Z","stale":false,"partial":false}}