HighVulnerability
CVE-2026-47750: stable-diffusion.cpp heap buffer overflow in .ckpt pickle parser
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-47750
- Published
- Record updated
- Fixed in
- The source references a patch, a mitigation or a vendor advisory.
Summary
CVE-2026-47750 affects stable-diffusion.cpp, a pure C/C++ library for running diffusion models, in versions prior to master-584-0a7ae07. The pickle .ckpt parser in src/model.cpp has a heap buffer overflow in its GLOBAL opcode handler, caused by missing validation when searching for newline-delimited fields. A crafted .ckpt file lacking the expected newline can make the parser use -1 as a copy length, causing immediate heap corruption; exploitation requires loading a .ckpt file from an untrusted source.
Mitigation
Fixed in master-584-0a7ae07. If developers cannot update immediately, do not load .ckpt checkpoint files from untrusted sources, prefer trusted model sources, and use safer formats such as .safetensors where possible.
Related items
- HighCVE-2026-128877: IBM Langflow OSS 1.0.0 through 1.13.0 agentic MCP endpoint uses an internal client to send requests to the server's own…Similar attack, NVD/CVE Database
- MediumCVE-2026-120038: IBM Langflow OSS credential exposure via attacker-controlled OpenAI base_urlSimilar attack, NVD/CVE Database
- MediumCVE-2026-136957: Sonatype Nexus Repository 3 HuggingFace proxy download token verification flawSimilar attack, NVD/CVE Database
- HighCVE-2026-142134 - Uncontrolled search path element in the workflow linting tools in AWS HealthOmics MCP ServerSimilar attack, AWS Security Bulletins
- HighCVE-2026-142134: AWS HealthOmics MCP Server uncontrolled search path in workflow linting toolsSimilar attack, NVD/CVE Database