{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-47750","published":"2026-06-16T20:16:44.413000Z","last_modified":"2026-10-25T23:10:00.167000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:a:leejet:stable-diffusion.cpp:*:*:*:*:*:c\\+\\+:*:*","part":"a","vendor":"leejet","product":"stable-diffusion.cpp","version_end_excluding":"master-584-0a7ae07"}],"cpes_truncated":false,"vendors":["leejet"],"products":["leejet/stable-diffusion.cpp"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2026-47750/","html_en":"/en/cve/CVE-2026-47750/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-47750","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-47750"},"untrusted":{"vendor_name":"Leejet","product_name":"Stable-diffusion.cpp","desc_en":"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 GLOBAL opcode handler. The issue was caused by missing validation when searching for newline-delimited fields. A crafted .ckpt file without the expected newline could cause the parser to use -1 as a copy length, resulting in immediate heap corruption. The attack requires the victim or application to load a .ckpt file from an untrusted source, such as a downloaded model from a model sharing site. The issue has been resolved in version master-584-0a7ae07. If developers are unable to immediately update their applications they can work around this issue by following these instructions: do not load .ckpt checkpoint files from untrusted sources, and prefer trusted model sources and safer formats such as .safetensors where possible.","affected":[{"untrusted_vendor":"leejet","untrusted_product":"stable-diffusion.cpp","versions":[]}],"references":[{"url":"https://github.com/leejet/stable-diffusion.cpp/commit/0a7ae07f948eff4611968a65a22bd7c7031ad74f","tags":["Patch"]},{"url":"https://github.com/leejet/stable-diffusion.cpp/pull/1443","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/leejet/stable-diffusion.cpp/security/advisories/GHSA-v37x-jwp7-mcvc","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}