boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2026-47748MEDIUM
leejet stable-diffusion.cpp — stable-diffusion.cpp: Out-of-bounds reads in PyTorch checkpoint pickle opcode parsing
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   L   L   N   R  U  N  N  H    5.5   .0016    6.0     —
AFFECTED
  Product               Versions                Fixed
  stable-diffusion.cpp  < master-584-0a7ae07 –  —
TIMELINE
  May 19  Reserved by GitHub_M
  Jun 16  EXPLOIT PUBLISHED — CVE-2026-47748 (leejet stable-diffusion.cpp). Public exploit reference added.
  Jun 16  Published (CNA: GitHub_M)
CWE-125 · CNA: GitHub_M · CVSS v3.1 · 2 references · NVD status: Analyzed

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. Versions prior to master-584-0a7ae07 are vulnerable to an out-of-bounds reads error through PyTorch checkpoint pickle opcode parsing. The pickle .ckpt parser in src/model.cpp did not consistently check that enough input remained before reading opcode arguments or advancing the parser buffer with a crafted or truncated .ckpt file. Throughout the pickle parser, opcode handlers advanced the parser position with expressions such as buffer += N without first checking that buffer + N <= buffer_end. A truncated file could therefore cause reads past the end of the metadata buffer. LibFuzzer found crashes in under one second using malformed checkpoint inputs. Any application using affected stable-diffusion.cpp releases to load untrusted .ckpt model files could be vulnerable. 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. This issue has been fixed in version master-584-0a7ae07. If developers are unable to immediately update their applications, they can work around this issue by ensuring they do not load .ckpt checkpoint files from untrusted sources. They should prefer trusted model sources and safer formats such as .safetensors where possible.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
May 19, 2026ReservedReserved by GitHub_M
June 16, 2026EXPLOIT PUBLISHEDEXPLOIT PUBLISHED — CVE-2026-47748 (leejet stable-diffusion.cpp). Public exploit reference added.
June 16, 2026PublishedPublished (CNA: GitHub_M)

Affected

Affected products and packages — 1 row
VendorProduct / PackageEcosystemVersion introducedFixed
leejetstable-diffusion.cpp< master-584-0a7ae07

Weaknesses

CWE-125

References (2)

Related

Authoritative record: CVE-2026-47748 at cve.org

Vendors: leejet

Weaknesses: CWE-125

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-47748 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.