CVE-2026-109268 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Use After Free in PDF Writer via JPEG2000

Medium 6.3 Published Updated

Attackers can crash the application by supplying a crafted CMYK image with JPEG2000 compression to ImageMagick's PDF writer.

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

CVE-2026-109268 is a medium-severity use after free 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 use after free vulnerability in the PDF writer when writing CMYK images with JPEG2000 compression. Attackers can supply a crafted CMYK image that, when written to PDF with JPEG2000 compression, causes freed memory to be reused, potentially crashing the process.

Weakness: CWE-416

Which versions are affected by CVE-2026-109268?

How do I fix CVE-2026-109268?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-109268 being exploited?

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

Sources

Also known as DEBIAN-CVE-2026-109268, ECHO-1076-65c8-fe33, GHSA-5w2q-9xw9-jg4r, GHSA-j39j-wmxg-j8mv, UBUNTU-CVE-2026-109268.

Is CVE-2026-109268 in your software?

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

Check your SBOMs for free