CVE-2026-109261 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Memory Leak in GIF Encoder

Medium 6.3 Published Updated

Attackers can cause memory leaks in ImageMagick by supplying images that fail GIF color quantization, leading to degraded availability.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-109261?

CVE-2026-109261 is a medium-severity denial of service vulnerability in ImageMagick, published on 12 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the GIF encoder because allocated memory is not released when color quantization fails during encoding. Attackers can supply images whose GIF conversion causes quantization to fail, leaking memory with each attempt and degrading availability.

Weakness: CWE-401

Which versions are affected by CVE-2026-109261?

How do I fix CVE-2026-109261?

Upgrade to a fixed version.

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-109261 being exploited?

There is no known exploitation of CVE-2026-109261 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-109261, ECHO-06ca-d5eb-780e, GHSA-4775-xrh5-2j2p, GHSA-w68r-6fmr-cvg4, UBUNTU-CVE-2026-109261.

Is CVE-2026-109261 in your software?

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

Check your SBOMs for free