PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-47750 leejet CVE debrief

CVE-2026-47750 is a HIGH severity vulnerability in stable-diffusion.cpp, a C/C++ library for running diffusion model inference. A heap buffer overflow occurs in the pickle .ckpt parser in src/model.cpp due to a missing validation when searching for newline-delimited fields. This allows an attacker to craft a malicious .ckpt file that can cause immediate heap corruption when loaded. The attack requires the victim or application to load a .ckpt file from an untrusted source. The issue has been resolved in version master-584-0a7ae07.

Vendor
leejet
Product
stable-diffusion.cpp
CVSS
HIGH 7.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-06-16
Original CVE updated
2026-06-25
Advisory published
2026-06-16
Advisory updated
2026-06-25

Who should care

Developers and users of the stable-diffusion.cpp library, especially those loading .ckpt files from untrusted sources.

Technical summary

The pickle .ckpt parser in src/model.cpp contained a heap buffer overflow vulnerability in the GLOBAL opcode handler. The issue was caused by missing validation when searching for newline-delimited fields. A crafted .ckpt file without the expected newline could cause the parser to use -1 as a copy length, resulting in immediate heap corruption.

Defensive priority

HIGH

Recommended defensive actions

  • Update to version master-584-0a7ae07 or later.
  • Do not load .ckpt checkpoint files from untrusted sources.
  • Prefer trusted model sources and safer formats such as .safetensors where possible.

Evidence notes

The CVE-2026-47750 vulnerability has been publicly disclosed and a patch is available. The National Vulnerability Database (NVD) has assigned a CVSS score of 7.8, indicating a HIGH severity vulnerability.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-47750 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-47750

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-47750 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-47750

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.