MEDIUMCVSS v4 6.9Vulnerability

CVE-2026-70660

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.

Properties

Severity
MEDIUM
Nvd fetched at
2026-11-05T18:05:53.357748+00:00
Cvss severity
MEDIUM
Cvss score
6.9
Retrieved at
2026-11-05T18:06:50+00:00
Score
6.9
Cvss version
4.0
Last source
NVD
Cve id
CVE-2026-70660
Cvss 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
First seen by Signal
2026-11-05T18:02:03+00:00
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
Published at
2026-11-05T16:17:48.263
Last modified
2026-11-05T16:17:48.263

Related Entities (1)

HAS_WEAKNESS (1)

→[Weakness]Out-of-bounds Read

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-70660 (CVSS v4 6.9) — Ninja Signal Threat Intelligence | Ninja Signal