Skip to content
OpenAdvisories

Product · leejet

stable-diffusion.cpp

6 known vulnerabilities.

2 results · Clear filters · Feed

  • Medium 6.9

    stable-diffusion.cpp: Out-of-bounds read in safetensors loader: unvalidated data_offsets allow a tensor's byte range to extend past the end of the file

    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_o…

  • Medium 5.5

    stable-diffusion.cpp: Out-of-bounds reads in PyTorch checkpoint pickle opcode parsing

    stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, and more) inference. Versions prior to master-584-0a7ae07 are vulnerable to an out-of-bounds reads error through PyTorch checkpoint pic…