CVE-2026-106565 ImageMagick: Infinite Loop in bzip2 compressed images.

Medium 5.9 Published Updated

An attacker can cause an infinite loop and resource exhaustion in ImageMagick by providing specially crafted bzip2-compressed images.

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-106565?

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

Official description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-32 and 6.9.13-57, a missing end-of-file check while reading bzip2-compressed image data can cause an infinite loop and exhaust processing resources. This issue is fixed in versions 7.1.2-32 and 6.9.13-57.

Weakness: CWE-835, CWE-400

Which versions are affected by CVE-2026-106565?

It affects 1 product.

Products include Imagemagick Imagemagick.

How do I fix CVE-2026-106565?

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

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as CLSA-2026-1792991564, CLSA-2026-1792992541, DEBIAN-CVE-2026-106565, ECHO-f8bd-4fbe-2661, GHSA-m9c7-gf3j-hx6h, MINI-ch45-32h3-w37w and 1 more.

Is CVE-2026-106565 in your software?

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

Check your SBOMs for free