What is CVE-2024-39720?
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).
The record classifies CVE-2024-39720 under weakness class CWE-125. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 704 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 8.2 — HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H - EPSS (FIRST)
- 0.3% probability of exploitation in the next 30 days, higher than 56.9% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 6.4/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2024-10-31, last modified 2025-05-13
Is CVE-2024-39720 being exploited?
It currently carries a trending score of 19 in the Threadlinqs vulnerability feed.
Affected products and versions
- Ollama: Ollama
How to fix CVE-2024-39720
The record marks a vendor fix as available for CVE-2024-39720. Patch reference: https://github.com/ollama/ollama/releases. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.
Threat activity tracking CVE-2024-39720
No threat campaign in the Threadlinqs corpus currently references CVE-2024-39720, in its CVE list or as an indicator. The linkage is recomputed from the live corpus on every daily ingest, so this section fills in as soon as a tracked campaign cites the identifier.
Sources
Seeded from nvd and not yet processed by the Threadlinqs enrichment pipeline, so blank CVSS, EPSS or KEV fields above mean NOT MEASURED rather than measured-absent.