HighVulnerability
CVE-2025-0312: Ollama denial of service through crafted GGUF model file upload
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-0312
- Published
- Record updated
- Affected
- github.com/ollama/ollama <= 0.3.14
- Fixed in
- No fixed version was stated when the source was last read.
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.6%
Summary
CVE-2025-0312 affects ollama/ollama versions <=0.3.14. A malicious user can craft a customized GGUF model file that, when uploaded and created on the Ollama server, triggers an unchecked null pointer dereference (CWE-476). The crash enables a Denial of Service attack over the remote network.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- github.com/ollama/ollamaGoLLM dependency since 2023-07-08 · 2 tracked dependents
Topics
Related items
- MediumCVE-2026-126399: vLLM resource exhaustion via video frame limit bypass in chat completionsSimilar attack · NVD/CVE Database
- MediumCVE-2026-126398: vLLM reachable assertion crash in GPUModelRunner via embeddings-only requestsSimilar attack · NVD/CVE Database
- HighCVE-2026-126397: vLLM denial of service via unbounded max_patches in multimodal preprocessingSimilar attack · NVD/CVE Database
- MediumCVE-2026-126396: vLLM resource exhaustion in MiniMax M3 VL video processor via min_pixelsSimilar attack · NVD/CVE Database
- MediumCVE-2026-126394: vLLM resource exhaustion in OpenCVDynamicOpenPanguVideoBackend via num_framesSimilar attack · NVD/CVE Database