CVE Explorer
CVE-2026-47748
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 an out-of-bounds reads error through PyTorch checkpoint pickle opcode parsing. The pickle .ckpt parser in src/model.cpp did not consistently check that enough input remained before reading opcode arguments or advancing the parser buffer with a crafted or truncated .ckpt file. Throughout the pickle p
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
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:63f2d05a9e7d4b65850c6c02baac6a4acc4d8ddddd7a527e85cbb702854140ab · sha256:d411a30605b05fa6… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:63f2d05a9e7d4b65850c6c02baac6a4acc4d8ddddd7a527e85cbb702854140ab · sha256:d411a30605b05fa6… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:63f2d05a9e7d4b65850c6c02baac6a4acc4d8ddddd7a527e85cbb702854140ab · sha256:d411a30605b05fa6… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 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:63f2d05a9e7d4b65850c6c02baac6a4acc4d8ddddd7a527e85cbb702854140ab · sha256:d411a30605b05fa6… · /containers/cna/references/1
{"name":"https://github.com/leejet/stable-diffusion.cpp/security/advisories/GHSA-rx4w-x86j-vx57","tags":["x_refsource_CONFIRM"],"url":"https://github.com/leejet/stable-diffusion.cpp/security/advisories/GHSA-rx4w-x86j-vx57"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:63f2d05a9e7d4b65850c6c02baac6a4acc4d8ddddd7a527e85cbb702854140ab · sha256:d411a30605b05fa6… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/leejet/stable-diffusion.cpp/security/advisories/GHSA-rx4w-x86j-vx57"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:63f2d05a9e7d4b65850c6c02baac6a4acc4d8ddddd7a527e85cbb702854140ab · sha256:d411a30605b05fa6… · /containers/adp/0/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.