Leejet
Monthly
Heap out-of-bounds write in the importance-matrix loader of stable-diffusion.cpp allows a crafted .imatrix file to corrupt the heap and crash the process, and provides a controlled-write primitive that may be exploitable further. Builds from master-742-1a13107 up to the fix in master-763-4fcc6fe are affected; the flaw is reached by pointing the conversion path at an untrusted file (for example 'sd-cli -M convert --imat-in poc.imatrix -o out.gguf'), and no model file is required because the imatrix is parsed first. The vendor advisory includes a proof-of-concept that the reporter reproduced as a SIGSEGV in a real sd-cli build; there is no CISA KEV entry or other confirmation of active exploitation, and the assessed vector (AV:L/UI:R) reflects a user voluntarily processing an attacker-supplied file.
Heap-based buffer overflow in stable-diffusion.cpp's pickle .ckpt parser allows attackers to corrupt memory and likely achieve code execution when a victim loads a maliciously crafted checkpoint file. The flaw stems from sign confusion in the BINUNICODE opcode length field, causing memcpy to be called with an attacker-controlled, effectively gigantic size derived from a negative signed integer. No public exploit identified at time of analysis, and the issue is fixed in master-584-0a7ae07.
Heap buffer overflow in the leejet stable-diffusion.cpp pickle .ckpt parser allows arbitrary code execution when a user or host application loads a maliciously crafted checkpoint file. The flaw resides in the GLOBAL opcode handler within src/model.cpp, where missing newline validation lets a -1 length value drive a heap memory copy, corrupting the heap of the diffusion inference process. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV, but the attack surface (community model-sharing sites) makes weaponization plausible.
Heap buffer overflow in stable-diffusion.cpp versions prior to master-584-0a7ae07 allows attackers to corrupt memory and potentially achieve code execution when a victim loads a malicious PyTorch .ckpt checkpoint file. The flaw resides in the SHORT_BINUNICODE opcode handler of the pickle parser in src/model.cpp, where a signed length field is mishandled and passed to memcpy. No public exploit identified at time of analysis, but the upstream fix is committed and the attack surface (untrusted model files from sharing sites) is realistic for AI/ML workloads.
Out-of-bounds read in stable-diffusion.cpp's safetensors loader (src/model_io/safetensors_io.cpp) lets a crafted .safetensors file make the model loader consume an attacker-chosen byte length from an unchecked offset past the end of the memory-mapped file, crashing the process and potentially copying adjacent process memory into tensor buffers. Every build prior to master-764-e22272e is affected, and the flaw fires only when a user chooses to load an untrusted or third-party model, making this a local, user-interaction-dependent attack rather than remote exposure. A proof-of-concept .safetensors file with an AddressSanitizer heap-buffer-overflow reproduction is documented in the vendor security advisory; there is no CISA KEV listing, so active exploitation is not confirmed, and the vulnerability is prioritized as this-month remediation work rather than an emergency.
Out-of-bounds reads in stable-diffusion.cpp's PyTorch pickle checkpoint parser (versions prior to master-584-0a7ae07) allow a crafted or truncated .ckpt file to crash the loading application or leak process memory contents. The pickle opcode handlers in src/model.cpp advanced the buffer pointer without verifying remaining bytes before each read, meaning any application using this library to load untrusted .ckpt model files is exposed to denial-of-service and potential memory disclosure. No public exploit has been identified at time of analysis, though LibFuzzer triggered crashing inputs in under one second, indicating an extremely low barrier for generating working crash payloads.
Heap out-of-bounds write in the importance-matrix loader of stable-diffusion.cpp allows a crafted .imatrix file to corrupt the heap and crash the process, and provides a controlled-write primitive that may be exploitable further. Builds from master-742-1a13107 up to the fix in master-763-4fcc6fe are affected; the flaw is reached by pointing the conversion path at an untrusted file (for example 'sd-cli -M convert --imat-in poc.imatrix -o out.gguf'), and no model file is required because the imatrix is parsed first. The vendor advisory includes a proof-of-concept that the reporter reproduced as a SIGSEGV in a real sd-cli build; there is no CISA KEV entry or other confirmation of active exploitation, and the assessed vector (AV:L/UI:R) reflects a user voluntarily processing an attacker-supplied file.
Heap-based buffer overflow in stable-diffusion.cpp's pickle .ckpt parser allows attackers to corrupt memory and likely achieve code execution when a victim loads a maliciously crafted checkpoint file. The flaw stems from sign confusion in the BINUNICODE opcode length field, causing memcpy to be called with an attacker-controlled, effectively gigantic size derived from a negative signed integer. No public exploit identified at time of analysis, and the issue is fixed in master-584-0a7ae07.
Heap buffer overflow in the leejet stable-diffusion.cpp pickle .ckpt parser allows arbitrary code execution when a user or host application loads a maliciously crafted checkpoint file. The flaw resides in the GLOBAL opcode handler within src/model.cpp, where missing newline validation lets a -1 length value drive a heap memory copy, corrupting the heap of the diffusion inference process. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV, but the attack surface (community model-sharing sites) makes weaponization plausible.
Heap buffer overflow in stable-diffusion.cpp versions prior to master-584-0a7ae07 allows attackers to corrupt memory and potentially achieve code execution when a victim loads a malicious PyTorch .ckpt checkpoint file. The flaw resides in the SHORT_BINUNICODE opcode handler of the pickle parser in src/model.cpp, where a signed length field is mishandled and passed to memcpy. No public exploit identified at time of analysis, but the upstream fix is committed and the attack surface (untrusted model files from sharing sites) is realistic for AI/ML workloads.
Out-of-bounds read in stable-diffusion.cpp's safetensors loader (src/model_io/safetensors_io.cpp) lets a crafted .safetensors file make the model loader consume an attacker-chosen byte length from an unchecked offset past the end of the memory-mapped file, crashing the process and potentially copying adjacent process memory into tensor buffers. Every build prior to master-764-e22272e is affected, and the flaw fires only when a user chooses to load an untrusted or third-party model, making this a local, user-interaction-dependent attack rather than remote exposure. A proof-of-concept .safetensors file with an AddressSanitizer heap-buffer-overflow reproduction is documented in the vendor security advisory; there is no CISA KEV listing, so active exploitation is not confirmed, and the vulnerability is prioritized as this-month remediation work rather than an emergency.
Out-of-bounds reads in stable-diffusion.cpp's PyTorch pickle checkpoint parser (versions prior to master-584-0a7ae07) allow a crafted or truncated .ckpt file to crash the loading application or leak process memory contents. The pickle opcode handlers in src/model.cpp advanced the buffer pointer without verifying remaining bytes before each read, meaning any application using this library to load untrusted .ckpt model files is exposed to denial-of-service and potential memory disclosure. No public exploit has been identified at time of analysis, though LibFuzzer triggered crashing inputs in under one second, indicating an extremely low barrier for generating working crash payloads.