PT-2026-49749
CVE-2026-47748
·
Published
2026-06-16
·
Updated
2026-06-25
Description by
CVSS 3.1
5.5
MediumMetricsAV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
stable-diffusion.cpp versions prior to master-584-0a7ae07
Description
An out-of-bounds read error exists during PyTorch checkpoint pickle opcode parsing. The pickle .ckpt parser in the
src/model.cpp file fails to consistently verify that sufficient input remains before reading opcode arguments or advancing the parser buffer. Specifically, opcode handlers advance the parser position using expressions like buffer += N without confirming that buffer + N <= buffer end. A crafted or truncated .ckpt file can trigger reads beyond the end of the metadata buffer, potentially leading to application crashes when loading untrusted model files from sources such as model sharing sites.Recommendations
Update to version master-584-0a7ae07.
As a temporary workaround, avoid loading .ckpt checkpoint files from untrusted sources and prefer safer formats such as .safetensors.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾