Cyber Posture

CVE-2025-66960

HighPublic PoC

Published: 21 January 2026

Published
21 January 2026
Modified
02 February 2026
KEV Added
Patch
CVSS Score 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0029 52.8th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-66960 is a high-severity Improper Input Validation (CWE-20) vulnerability in Ollama Ollama. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked in the top 47.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Threat & Defense at a Glance

What attackers do: exploitation maps to Application or System Exploitation (T1499.004).
Threat & Defense Details

Likely Mitigating ControlsAI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-20 CWE-400

Security testing and evaluation at multiple SDLC stages directly detects missing or flawed input validation, with the required remediation process ensuring fixes are applied.

addresses: CWE-20 CWE-400

Spam protection mechanisms perform filtering and detection on inbound/outbound messages, directly compensating for missing or weak input validation of unsolicited content.

addresses: CWE-400

Limiting concurrent sessions directly prevents uncontrolled resource consumption by capping the number of active sessions per user or account.

addresses: CWE-400

Analysis identifies uncontrolled resource consumption indicative of denial-of-service or abuse attempts.

addresses: CWE-400

Contingency plan testing includes resource exhaustion scenarios to verify recovery, making it harder for attackers to sustain exploits that cause uncontrolled consumption.

addresses: CWE-400

Updated contingency plans include current procedures to detect, contain, and recover from resource exhaustion, limiting an attacker's ability to sustain impact from uncontrolled consumption.

addresses: CWE-400

Alternate site allows resumption of operations if resource exhaustion at the primary site is exploited to cause unavailability.

addresses: CWE-400

Alternate telecommunications services enable resumption of essential functions when primary services become unavailable due to uncontrolled resource consumption.

MITRE ATT&CK Enterprise TechniquesAI

T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Why these techniques?

The CVE describes remote exploitation of an input validation flaw in Ollama's GGUF metadata parser (readGGUFV1String) that directly triggers application panic or resource exhaustion, matching T1499.004 Application or System Exploitation for DoS.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

NVD Description

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

Deeper analysisAI

CVE-2025-66960 is a denial-of-service vulnerability affecting Ollama version 0.12.10. The issue resides in the fs/ggml/gguf.go file, specifically the readGGUFV1String function, which reads a string length directly from untrusted GGUF metadata without proper validation. This flaw, associated with CWE-20 (Improper Input Validation) and CWE-400 (Uncontrolled Resource Consumption), carries a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) and was published on 2026-01-21T18:16:23.950.

A remote attacker can exploit this vulnerability without authentication privileges or user interaction by supplying malicious GGUF metadata to an Ollama instance listening over the network. Successful exploitation triggers a panic or resource exhaustion in the readGGUFV1String function, resulting in high-impact denial of service that crashes the service or renders it unavailable.

Mitigation details are available in the referenced advisories, including the Ollama GitHub issue at https://github.com/ollama/ollama/issues/9820 and the technical analysis at https://zero.shotlearni.ng/blog/cve-2025-66960guf-v1-string-length-cause-panic-in-readggufv1string/.

Details

CWE(s)

Affected Products

ollama
ollama
0.12.10

CVEs Like This One

CVE-2025-66959Same product: Ollama Ollama
CVE-2025-0315Same product: Ollama Ollama
CVE-2024-8063Same product: Ollama Ollama
CVE-2025-0317Same product: Ollama Ollama
CVE-2024-12055Same product: Ollama Ollama
CVE-2025-15514Same product: Ollama Ollama
CVE-2025-0312Same product: Ollama Ollama
CVE-2025-63389Same product: Ollama Ollama
CVE-2026-33287Shared CWE-20, CWE-400
CVE-2025-21230Shared CWE-20, CWE-400

References