Bug 2505951 (CVE-2026-65315) - CVE-2026-65315 ollama: Ollama: Remote Denial of Service via uncontrolled memory allocation in GGUF metadata parser
Summary: CVE-2026-65315 ollama: Ollama: Remote Denial of Service via uncontrolled memo...
Keywords:
Status: NEW
Alias: CVE-2026-65315
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2521814 2521815
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-21 22:54 UTC by OSIDB Bzimport
Modified: 2026-08-31 09:14 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-21 22:54:59 UTC
Ollama (HEAD f0078ae) contains an uncontrolled memory allocation vulnerability in the GGUF metadata parser that allows remote attackers to crash the server by supplying a crafted GGUF file with attacker-controlled length and count fields in string lengths, tensor dimension counts, and metadata array counts that are used as allocation sizes without validation against remaining file size. Attackers can upload a sub-1KB crafted GGUF file via the blob upload and model create or pull API endpoints to trigger unrecoverable Go runtime out-of-memory fatal errors or makeslice panics that bypass recovery middleware and crash the entire server process.


Note You need to log in before you can comment on or make changes to this bug.