Security mailing lists by PureSourceCode

CVE-2024-39720

HIGH 8.2CVSS 3.1

Ollama Out-of-bounds Read

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).

Published
31 Oct 2024
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-125
Also known as
GHSA-95j2-w8x7-hm88GO-2024-3245
Sources
NVDJSONOSV GHSA-95j2-w8x7-hm88JSONOSV GO-2024-3245JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ollama ollama
cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*
< 0.1.46 0.1.46
OSV Go github.com/ollama/ollama < 0.1.46 0.1.46

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 31 Oct 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Nov 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 31 Oct 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.