Résumé
Vulnérabilité dans stable-diffusion.cpp (CVE-2026-47749). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via SHORT_BINUNICODE.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
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 heap buffer overflow in SHORT_BINUNICODE parsing for PyTorch checkpoint files. The pickle .ckpt parser in src/model.cpp contained a heap buffer overflow vulnerability in the SHORT_BINUNICODE opcode handler. The issue was caused by sign confusion on the opcode length field. A crafted .ckpt file could trigger memcpy with a very large length derived from a negative signed value, causing immediate heap corruption. Any application using affected stable-diffusion.cpp releases to load untrusted .ckpt model files could be vulnerable. A malicious checkpoint file could cause heap corruption through memcpy with an attacker-controlled length. This may lead to process crash and could potentially be leveraged for code execution depending on heap layout. The attack requires the victim or application to load a .ckpt file from an untrusted source, such as a downloaded model from a model sharing site. The issue has been resolved in version master-584-0a7ae07. If developers are unable to immediately update their applications they can work around this issue by not loading .ckpt checkpoint files from untrusted sources, and referring to trusted model sources and safer formats such as .safetensors where possible.
Source: NIST National Vulnerability Database NVD
Résumé IA
Rédigé par une IA externe ; il peut contenir des erreurs. Vérifiez la description d'origine et les références ci-dessous avant d'agir.
Une vulnérabilité référencée CVE-2026-47749 a été découverte dans c.
Des attaquants peuvent cibler un point d'entrée spécifique comme SHORT_BINUNICODE à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 7.8/10.
Action : appliquez le correctif officiel de l'éditeur.
En cas de doute, contactez votre service informatique ou cherchez « c CVE-2026-47749 » sur le site de l'éditeur.
CVE-2026-47749 (c) — CWE-122 / CVSS v3 7.8
Vecteur d'attaque : local / non authentifié
Surface d'attaque : SHORT_BINUNICODE / memcpy / int8_t
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
ヒープバッファオーバーフローが発生する脆弱性です。
stable-diffusion.cppのPyTorch checkpointファイルのSHORT_BINUNICODEパーサー。
悪意のある.ckptファイルを使用することでプロセスがクラッシュし、場合によってはコード実行が可能になります。
バージョンmaster-584-0a7ae07にアップデートしてください。
信頼できないソースから.ckptファイルをロードしないでください。
脆弱性を持つバージョンのstable-diffusion.cppを使用している場合、信頼できない.ckptファイルをロードすると影響を受けます。
Références
- exploit github.com
- patch security-advisories@github.com
- patch security-advisories@github.com