CVE-2026-7482: Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader
CVE-2026-7482 is a critical-severity flaw (CVSS 9.1) affecting ollama. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader. The /api/create endpoint accepts an attacker-supplied GGUF file in which the declared tensor offset and size exceed the file's actual length; during quantization in fs/ggml/gguf.go and server/quantization.go (WriteTo()), the server reads past the allocated heap buffer. The leaked memory contents may include environment variables, API keys, system promp
Why this priority
- Critical severity
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.1 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.2% (top 17%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2026-05-04 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: 0x0OZ/CVE-2026-7482-PoC (7 stars)
- GitHub PoC: szybnev/CVE-2026-7482 (1 stars)
- GitHub PoC: kaleth4/CVE-2026-7482 (0 stars)
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-7482?
ollama: upgrade to 0.17.1. Exact commands for each OS are on this page.
Is CVE-2026-7482 being exploited?
CVE-2026-7482 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-7482 affect?
CVE-2026-7482 affects ollama. Severity is critical (CVSS 9.1). Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader. The /api/create endpoint accepts an attacker-supplied GGUF file in which the declared tensor offset and size exceed the file's actual length; du
How urgent is CVE-2026-7482?
Priority 66/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-5757 HIGH 7.5 UPGRADE Unauthenticated remote information disclosure vulnerability in Ollama's model quantization engine allows an at
- CVE-2026-15685 HIGH 7.5 DOWNGRADE Ollama downloadBlob Improper Validation of Array Index Denial-of-Service Vulnerability
- CVE-2026-7020 LOW 3.7 UPGRADE A security flaw has been discovered in Ollama up to 0.20.2
- CVE-2026-42249 CRITICAL 9.8 UPGRADE Ollama for Windows contains a Remote Code Execution vulnerability in its update mechanism due to improper hand
- CVE-2026-42248 CRITICAL 9.8 UPGRADE Ollama for Windows does not perform integrity or authenticity verification of downloaded update executables