{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-70660","published":"2026-11-05T16:17:48.263000Z","last_modified":"2026-11-12T22:18:35.610000Z","status":"Awaiting Analysis","cvss":{"version":"4.0","score":6.9,"severity":"MEDIUM","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-125"],"cpes":[],"cpes_truncated":false,"vendors":["leejet"],"products":["leejet/stable-diffusion.cpp"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2026-70660/","html_en":"/en/cve/CVE-2026-70660/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-70660","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-70660"},"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. Prior to master-764-e22272e, the safetensors loader in src/model_io/safetensors_io.cpp trusts each tensor's data_offsets after checking only that nbytes equals end - begin. A crafted .safetensors file can declare a byte range beyond the file's data section, causing src/model_loader.cpp to consume an attacker-chosen length from an unchecked mapped-file offset. Loading the model can read adjacent process memory into tensor buffers or crash the process. This issue is fixed in master-764-e22272e.","affected":[{"untrusted_vendor":"leejet","untrusted_product":"stable-diffusion.cpp"}],"references":[{"url":"https://github.com/leejet/stable-diffusion.cpp/commit/e22272ee631b742dab4440c18eb8fcafb0689402","tags":[]},{"url":"https://github.com/leejet/stable-diffusion.cpp/pull/1754","tags":[]},{"url":"https://github.com/leejet/stable-diffusion.cpp/releases/tag/master-764-e22272e","tags":[]},{"url":"https://github.com/leejet/stable-diffusion.cpp/security/advisories/GHSA-v2m4-h57v-fr6w","tags":[]}]}}