CVE-2026-70660

MEDIUM
MEDIUM Priority: 0.01 BB Relevance: 39/100
Published: 2026-11-05 Modified: 2026-11-12 First seen: 2026-11-05 Status: active

Attack Surface

Low Complexity No Auth Conf. Impact

CVSS Vector Breakdown

AV: Local
AC: Low
PR: None
UI: Passive
S: X
AT: None
VC: High
VI: None
VA: High

Description

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.

Weakness Classification (1)

Affected Software (2)

VendorProductVersion
leejet stable-diffusion.cpp < master-764-e22272e
leejet stable-diffusion.cpp < master-764-e22272e

Bug Bounty Relevance

39 / 100
✓ No authentication
✓ Low complexity

CVSS Score

6.9 / 10.0 v4.0
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

EPSS — Exploitation Probability

0.13%
Raw Score 0.001290
Percentile 2.6%
Date 2026-11-14

EPSS Trend

2026-11-14
0.00129
2026-11-13
0.00129
2026-11-12
0.00129
2026-11-10
0.00129
2026-11-09
0.00129
2026-11-08
0.00129
2026-11-07
0.00129
2026-11-06
0.00129

Intelligence Sources

mitre ref →
nvd ref →