PT-2026-49830 · Unknown · Stable-Diffusion.Cpp

·

CVE-2026-47750

·

Published

2026-06-16

·

Updated

2026-06-25

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions stable-diffusion.cpp versions prior to master-584-0a7ae07
Description The pickle .ckpt parser in src/model.cpp contains a heap buffer overflow in the GLOBAL opcode handler. This occurs due to missing validation when searching for newline-delimited fields. A specially crafted .ckpt file lacking the expected newline can cause the parser to use -1 as a copy length, leading to immediate heap corruption. Exploitation requires the application or user to load a .ckpt file from an untrusted source.
Recommendations Update to version master-584-0a7ae07. Avoid loading .ckpt checkpoint files from untrusted sources. Use safer formats such as .safetensors when possible.

Exploit

Fix

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-47750
GHSA-V37X-JWP7-MCVC

Affected Products

Stable-Diffusion.Cpp