{"data":{"id":"2a03861b-2415-4d4f-8b50-80788f28190d","title":"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…","summary":"CVE-2024-39720 affects Ollama before 0.1.46. An attacker can upload a malformed GGUF file of just 4 bytes, starting with the GGUF custom magic header, using two HTTP requests. By pointing a custom Modelfile's FROM statement at that blob, the attacker crashes the application through the CreateModel route with a segmentation fault (SIGSEGV). The weakness is classified as CWE-125, Out-of-bounds Read.","solution":"The source links a fix commit in the ollama/ollama repository comparing v0.1.45 to v0.1.46, but it does not state the fix in words. Its stated mitigation is therefore: N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-39720","publishedAt":"2024-11-01T00:15:04.877Z","cveId":"CVE-2024-39720","cweIds":["CWE-125"],"cvssScore":"8.2","cvssSeverity":"high","severity":"high","attackType":["denial_of_service"],"issueType":"vulnerability","affectedPackages":["github.com/ollama/ollama@< 0.1.46 (fixed: 0.1.46)"],"affectedPackageNames":["github.com/ollama/ollama"],"affectedPackageRefs":["go:github.com/ollama/ollama"],"affectedVendors":[],"affectedVendorsRaw":["Ollama","GGUF"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"Ollama crash via malformed GGUF file in CreateModel route","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.02443,"epssCheckedAt":"2026-11-04T00:12:27.579Z","kevDateAdded":null,"advisoryAliases":["GHSA-95j2-w8x7-hm88"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:54:53.389Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2024-06-21T23:30:36.000Z","daysToFix":-133,"fixCheckedAt":"2026-10-29T21:45:16.228Z","capecIds":["CAPEC-540"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["availability"],"aiComponentTargeted":"inference","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"go","name":"github.com/ollama/ollama","fixedVersion":"0.1.46","matchedVersion":"v0.1.46","fixReleasedAt":"2024-06-21T23:30:36.000Z","daysToFix":-133,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:45:16.076Z"}]}}