Description
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.
Published: 2026-10-18
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Resource Exhaustion / Denial of Service
Action: Apply patch
AI Analysis

Impact

The vulnerability resides in the read_metadata_from_safetensors function of modules/sd_models.py within the stable-diffusion-webui application. By manipulating the header length field included in a safetensors file, an attacker can cause the program to attempt to allocate an excessively large amount of memory. This resource allocation can lead to memory exhaustion on the host running the web UI, resulting in degraded performance or a complete denial of service. The flaw is a direct consequence of improper bounds checking and unchecked user input, categorized as CWE-400 and CWE-770.

Affected Systems

The issue affects the AUTOMATIC1111 stable-diffusion-webui project up to version 1.10.1. Any installation that has not applied a fix or upgrade beyond this version could be vulnerable if it processes unsanitized safetensors metadata from untrusted sources.

Risk and Exploitability

The CVSS score of 5.3 places the vulnerability in the moderate severity range. While EPSS data is not available and it is not listed in the CISA KEV catalog, the remote nature of the exploit and the availability of a public proof‑of‑concept indicate a non‑negligible risk for systems that expose the web UI to external users. An attacker who can supply a crafted safetensors header can trigger the allocation bug remotely, potentially exhausting system resources without authentication.

Generated by OpenCVE AI on October 18, 2026 at 13:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update stable-diffusion-webui to the latest released version that includes the fix for the read_metadata_from_safetensors vulnerability.
  • If an update is not yet available, disable or restrict metadata extraction for models, or configure the web UI to only load models from a trusted directory.
  • Monitor system resource usage and application logs for abnormal memory consumption that may indicate an exploit attempt.

Generated by OpenCVE AI on October 18, 2026 at 13:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
Description 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.
Title AUTOMATIC1111 stable-diffusion-webui Metadata Extraction sd_models.py read_metadata_from_safetensors allocation of resources
First Time appeared Automatic1111
Automatic1111 stable-diffusion-webui
Weaknesses CWE-400
CWE-770
CPEs cpe:2.3:a:automatic1111:stable-diffusion-webui:*:*:*:*:*:*:*:*
Vendors & Products Automatic1111
Automatic1111 stable-diffusion-webui
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': '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'}


Subscriptions

Automatic1111 Stable-diffusion-webui
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-10-18T12:00:17.515Z

Reserved: 2026-10-17T21:49:34.263Z

Link: CVE-2026-111985

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T12:17:11.440

Modified: 2026-10-18T12:17:11.440

Link: CVE-2026-111985

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T13:30:01Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling