Skip to main content

stable-diffusion-webui CVE-2026-111985

| EUVDEUVD-2026-103476 LOW
Uncontrolled Resource Consumption (CWE-400)
2026-10-18 cna@vuldb.com GHSA-q7gh-5v92-ww7h
2.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Host crafted safetensors model file
  2. Exploit
    Victim loads file into web UI
  3. Execution
    Oversized header-length triggers resource allocation
  4. Impact
    Memory exhaustion causes denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a victim to load an attacker-crafted .safetensors model file whose metadata header-length field has been manipulated; the vulnerable code path is the Metadata Extraction component's read_metadata_from_safetensors function in modules/sd_models.py. The key limiting factor is mandatory user interaction (CVSS UI:P) - the attacker cannot trigger this against an idle service but must induce the user to download and load the malicious model (e.g., from a model-sharing repository). No authentication to the web UI by the attacker is needed, and affected versions are AUTOMATIC1111 stable-diffusion-webui up to and including 1.10.1 with no vendor patch currently available. Impact is limited to denial of service (resource exhaustion) of the web UI process; there is no data disclosure or code execution.

Impact

All signals converge on LOW real-world risk despite the public exploit. The vendor-supplied CVSS 4.0 base score is 2.1 (Low), reflecting that the only technical impact is a low-severity availability hit (VA:L) with no confidentiality or integrity impact (VC:N/VI:N) and no scope change - consistent with CWE-400 uncontrolled resource consumption rather than code execution. The vector requires passive user interaction (UI:P), meaning a victim must load an attacker-supplied safetensors file, which materially limits automatability (this is NOT a fire-and-forget remote exploit). No EPSS score was provided, so exploitation probability cannot be quantified from the input. The CVE is NOT in CISA KEV, and no active exploitation is claimed - only publicly available exploit code exists (SSVC exploitation status 'poc', matching E:P in the vector). Conflicting/weak signals to note: the description says 'launched remotely' but the CVSS vector's UI:P shows exploitation hinges on a user loading a malicious model file, so 'remote' here means a hosted/shared file rather than unauthenticated network-service exploitation. The vendor was notified via issue report but has not responded, so no patch exists - the primary risk driver is unpatched status, not impact severity. Bottom line: a low-impact, user-interaction-gated DoS in a hobbyist/research tool; publicly available exploit code raises nuisance potential but this is a high-visibility-but-low-real-risk issue, not a priority for most environments.

Exploit ScenarioDerived

An attacker publishes a malicious Stable Diffusion model (.safetensors) on a model-sharing site with a tampered header-length field. When a victim downloads and loads the model, read_metadata_from_safetensors in modules/sd_models.py allocates resources based on the attacker-controlled length value, exhausting memory and crashing or hanging the web UI process. A public proof-of-concept (poc.zip) exists, but exploitation requires the victim to load the crafted file (CVSS UI:P), so it is not fully automatable.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 18, 2026

Resource exhaustion denial of service in AUTOMATIC1111 stable-diffusion-webui up to and including 1.10.1, where a crafted .safetensors model file with a manipulated metadata header-length field causes excessive allocation when the model is loaded. Remote attackers can only trigger this by convincing a user to download and load the malicious model file (mandatory user interaction), so an idle service cannot be attacked directly. Publicly available exploit code exists (a POC zip is referenced), but impact is confined to availability of the web UI process - no data disclosure or code execution - and the project has not released a fix despite being notified via issue report.

RemediationAI

No vendor-released patch was identified at time of analysis - the project was notified via GitHub issue 17498 but has not responded or published a fix, so upgrading is not currently an option. The most effective compensating control is to only load .safetensors models from trusted, verified sources and to avoid loading model files obtained from public model-sharing repositories without integrity verification; this addresses the root cause but places the burden on operator/user discipline. Additionally, restrict who can reach the web UI (bind to 127.0.0.1 or place behind an authenticated reverse proxy with network ACLs) so that an unauthenticated remote party cannot interact with model-loading endpoints at all; the trade-off is loss of convenient remote/LAN access to the UI. Running the process in a container with a hard memory limit (e.g. cgroup --memory) or under a supervisor that restarts on OOM will convert unbounded allocation into a contained, recoverable crash - the trade-off is that legitimate large models may also hit the limit and be rejected. Monitor the upstream repository and issue 17498 (and the VulDB entry https://vuldb.com/vuln/421651) for a patched release and apply it as soon as it appears; note the public POC at https://github.com/user-attachments/files/32811560/poc.zip can be used to validate mitigations in a test environment.

Affected VersionsENISA

stable-diffusion-webui 1.10.1
stable-diffusion-webui 1.10.0

Affected Packages

euvd stable_diffusion_webui no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in modules/sd_models.py in the read_metadata_from_safetensors function, part of the Metadata Extraction component that parses the JSON header of .safetensors files. The safetensors format prefixes the tensor data with an 8-byte little-endian header-length field followed by a JSON metadata header; the code reads that length and allocates/reads accordingly. By supplying an attacker-controlled, oversized header-length value, the parser attempts to allocate resources far beyond what a legitimate model needs, exhausting memory on the host running the UI and denying service. This is CWE-400 (Uncontrolled Resource Consumption), an allocation-without-limits class issue rather than memory corruption - the CVSS:4.0 vector shows AV:N/AC:L/PR:N/UI:P with VC:N/VI:N/VA:L, i.e. network-reachable but requiring victim interaction and only low availability impact, matching the independent CVSS:3.1 assessment of AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L. The CPE/distribution scope is the AUTOMATIC1111 web UI itself (a Gradio-based local web application commonly exposed on a network port), and the attack path assumes model files sourced from untrusted third parties such as model-sharing repositories.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 4.3 MEDIUM

Attacker needs no privileges (PR:N) but the victim must load a crafted model file (UI:R); impact is availability-only resource exhaustion (A:L) with no confidentiality or integrity effect and no scope change.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability was found in AUTOMATIC1111 stable-diffusion-webui up to 1.10.1. This impacts the function read_metadata_from_safetensors of the file modules/sd_models.py of the component Metadata Extraction. The manipulation of the argument header length field results in allocation of resources. It is possible to launch the attack remotely. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
Medium
very popular open-source AI image tool, mostly local/hobbyist and research use
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy