{"schemaVersion":3,"id":"CVE-2024-39720","aliases":["GHSA-95j2-w8x7-hm88","GO-2024-3245"],"status":"published","duplicateOf":null,"title":null,"description":"An issue was discovered in Ollama before 0.1.46. An attacker can use two HTTP requests to upload a malformed GGUF file containing just 4 bytes starting with the GGUF custom magic header. By leveraging a custom Modelfile that includes a FROM statement pointing to the attacker-controlled blob file, the attacker can crash the application through the CreateModel route, leading to a segmentation fault (signal SIGSEGV: segmentation violation).","dates":{"published":"2024-10-31T00:00:00.000Z","modified":"2024-11-01T15:20:12.939Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":8.8,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","exploitability":10,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02443,"percentile":0.84192,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":-0.01999999999999988,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.02463},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.02443,"percentile":0.84192}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02463,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02443,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.02443,"percentile":0.84192}]},"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_6CFF7BB428DF9E99","name":"Exploit Reference (oligo.security)","source":"reference","url":"https://oligo.security/blog/more-models-more-probllms","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":"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.1.46","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.46","eol":null,"hubHref":null},{"vendor":"ollama","product":"ollama","name":"ollama","label":"ollama","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.1.46","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.46","eol":null,"hubHref":"/vendor/ollama/ollama"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/ollama/ollama/compare/v0.1.45...v0.1.46#diff-782c2737eecfa83b7cb46a77c8bdaf40023e7067baccd4f806ac5517b4563131L417","label":"github.com/ollama/ollama/compare/v0.1.45...v0.1.46","hostname":"github.com","tags":["WEB","Product"]},{"url":"https://oligo.security/blog/more-models-more-probllms","label":"oligo.security/blog/more-models-more-probllms","hostname":"oligo.security","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39720","label":"nvd.nist.gov/vuln/detail/CVE-2024-39720","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ollama/ollama","label":"github.com/ollama/ollama","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://oligosecurity.webflow.io/blog/more-models-more-probllms","label":"oligosecurity.webflow.io/blog/more-models-more-probllms","hostname":"oligosecurity.webflow.io","tags":["WEB"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3245","label":"pkg.go.dev/vuln/GO-2024-3245","hostname":"pkg.go.dev","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-95j2-w8x7-hm88","label":"github.com/advisories/GHSA-95j2-w8x7-hm88","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:0350-1","OPENSUSE-SU-2024:14452-1","SUSE-SU-2024:3950-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:0350-1","OPENSUSE-SU-2024:14452-1","SUSE-SU-2024:3950-1"]},"timeline":[{"kind":"published","date":"2024-10-31T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-11-01T15:20:12.939Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T20:32:01.538Z","stale":false,"partial":false}}