Bug 2431705 (CVE-2025-66960)

Summary: CVE-2025-66960 ollama: ollama: Denial of Service via untrusted GGUF metadata string length
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: carogers, erezende, haoli, hkataria, jajackso, jcammara, jkoehler, jmitchel, jneedle, jwong, kegrant, koliveir, kshier, lphiri, mabashia, omaciel, pbohmill, pbraun, shvarugh, simaishi, smcdonal, stcannon, teagle, tfister, thavo, ttakamiy, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in ollama. A remote attacker can exploit this vulnerability by providing untrusted GGUF (GGML Unified Format) metadata with a specially crafted string length. This can cause the `readGGUFV1String` function to improperly process the input, leading to a denial of service, which makes the service unavailable to legitimate users.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2432040, 2432041    
Bug Blocks:    

Description OSIDB Bzimport 2026-01-21 18:04:04 UTC
An issue in ollama v.0.12.10 allows a remote attacker to cause a denial of service via the fs/ggml/gguf.go, function readGGUFV1String reads a string length from untrusted GGUF metadata