CVE-2026-111985 Denial of service in stable-diffusion-webui

Medium 5.3 Published Updated

Remote attackers can cause resource exhaustion and denial of service in AUTOMATIC1111 stable-diffusion-webui via crafted safetensors metadata headers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-111985?

CVE-2026-111985 is a medium-severity denial of service vulnerability in AUTOMATIC1111 stable-diffusion-webui, published on 18 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-770, CWE-400

Which versions are affected by CVE-2026-111985?

How do I fix CVE-2026-111985?

No fix has been published for CVE-2026-111985 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-111985 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-111985 exists.

Sources

Also known as GHSA-q7gh-5v92-ww7h.

Is CVE-2026-111985 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free