CVE Explorer
CVE-2026-47749
stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, and more) inference. Versions prior to master-584-0a7ae07 are vulnerable to heap buffer overflow in SHORT_BINUNICODE parsing for PyTorch checkpoint files. The pickle .ckpt parser in src/model.cpp contained a heap buffer overflow vulnerability in the SHORT_BINUNICODE opcode handler. The issue was caused by sign confusion on the opcode length field. A crafted .ckpt file could
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3bf79b233676cc2c28fcead3f431f76c40f6edff182e677c497cde43726828d5 · sha256:aaaada63d3fbee59… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3bf79b233676cc2c28fcead3f431f76c40f6edff182e677c497cde43726828d5 · sha256:aaaada63d3fbee59… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"stable-diffusion.cpp","vendor":"leejet","versions":[{"status":"affected","version":"< master-584-0a7ae07"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:3bf79b233676cc2c28fcead3f431f76c40f6edff182e677c497cde43726828d5 · sha256:aaaada63d3fbee59… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:3bf79b233676cc2c28fcead3f431f76c40f6edff182e677c497cde43726828d5 · sha256:aaaada63d3fbee59… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3bf79b233676cc2c28fcead3f431f76c40f6edff182e677c497cde43726828d5 · sha256:aaaada63d3fbee59… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3bf79b233676cc2c28fcead3f431f76c40f6edff182e677c497cde43726828d5 · sha256:aaaada63d3fbee59… · /containers/cna/problemTypes/1/descriptions/0
Source references
4 source assertions{"name":"https://github.com/leejet/stable-diffusion.cpp/commit/0a7ae07f948eff4611968a65a22bd7c7031ad74f","tags":["x_refsource_MISC"],"url":"https://github.com/leejet/stable-diffusion.cpp/commit/0a7ae07f948eff4611968a65a22bd7c7031ad74f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3bf79b233676cc2c28fcead3f431f76c40f6edff182e677c497cde43726828d5 · sha256:aaaada63d3fbee59… · /containers/cna/references/2
{"name":"https://github.com/leejet/stable-diffusion.cpp/pull/1443","tags":["x_refsource_MISC"],"url":"https://github.com/leejet/stable-diffusion.cpp/pull/1443"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3bf79b233676cc2c28fcead3f431f76c40f6edff182e677c497cde43726828d5 · sha256:aaaada63d3fbee59… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/leejet/stable-diffusion.cpp/security/advisories/GHSA-2c29-5hxg-fv9g"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3bf79b233676cc2c28fcead3f431f76c40f6edff182e677c497cde43726828d5 · sha256:aaaada63d3fbee59… · /containers/adp/0/references/0
{"name":"https://github.com/leejet/stable-diffusion.cpp/security/advisories/GHSA-2c29-5hxg-fv9g","tags":["x_refsource_CONFIRM"],"url":"https://github.com/leejet/stable-diffusion.cpp/security/advisories/GHSA-2c29-5hxg-fv9g"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3bf79b233676cc2c28fcead3f431f76c40f6edff182e677c497cde43726828d5 · sha256:aaaada63d3fbee59… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.