CVE-2026-47747: stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Im
CVE-2026-47747 is a high-severity flaw (CVSS 7.8) affecting stable-diffusion.cpp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, and more) inference. In versions prior to master-584-0a7ae07, the pickle .ckpt parser in src/model.cpp contained a heap buffer overflow vulnerability in the BINUNICODE opcode handler. The issue was caused by sign confusion on the opcode length field. A crafted .ckpt file could trigger memcpy with a very large length derived
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-10-25 · 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
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-47747?
stable-diffusion.cpp: upgrade to master-584-0a7ae07. Exact commands for each OS are on this page.
Is CVE-2026-47747 being exploited?
CVE-2026-47747 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-47747 affect?
CVE-2026-47747 affects stable-diffusion.cpp. Severity is high (CVSS 7.8). stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, and more) inference. In versions prior to master-584-0a7ae07, the pickle .ckpt parser in src/model.cpp contained a h
How urgent is CVE-2026-47747?
Priority 34/100. High severity; Public exploit reference
Related CVEs
- CVE-2026-47749 HIGH 7.8 UPGRADE stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Im
- CVE-2026-47750 HIGH 7.8 UPGRADE stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Im
- CVE-2026-47748 MEDIUM 5.5 UPGRADE stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Im