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

Published Oct 12, 2026
·
Updated

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.

Affected Software

7 affected componentsFixes available
ImageMagick ImageMagick<6.9.13-57, >=7.0.0<7.1.2-32
debian/imagemagick<=8:6.9.11.60+dfsg-1.6+deb12u11, <=8:7.1.1.43+dfsg1-1+deb13u12, <=8:7.1.1.43+dfsg1-1+deb13u13
8:6.9.11.60+dfsg-1.6+deb12u158:7.1.2.34+dfsg1-1
debian/imagemagick<8:6.9.11.60+dfsg-1.6+deb12u15
8:6.9.11.60+dfsg-1.6+deb12u15
debian/imagemagick*
debian/imagemagick<8:7.1.2.33+dfsg1-1
8:7.1.2.33+dfsg1-1
ImageMagick ImageMagick<6.9.13-57
ImageMagick ImageMagick>=7.0.0-0<7.1.2-32

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.11.60+dfsg-1.6+deb12u15Fixed in 8:7.1.2.34+dfsg1-1
  2. Upgrade

    Upgrade debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.11.60+dfsg-1.6+deb12u15
  3. Upgrade

    Upgrade debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:7.1.2.33+dfsg1-1

Event History

Oct 12, 2026
CVE Published
via MITRE·04:04 PM
Data Sourced
via MITRE·04:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·05:17 PM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using ImageMagick versions earlier than 6.9.13-57 or 7.x versions earlier than 7.1.2-32 are affected when they write CMYK images to PDF using JPEG2000 compression.

2

What must an attacker be able to do to trigger the flaw?

An attacker needs to supply a crafted CMYK image that the affected ImageMagick deployment processes and writes as a PDF with JPEG2000 compression. No authentication or user interaction is required according to the provided vector.

3

What is the expected impact if exploitation succeeds?

The use-after-free condition can cause freed memory to be reused and may crash the ImageMagick process. The provided impact vector indicates availability impact only, with no stated confidentiality or integrity impact.

4

What can be done before upgrading?

Avoid converting untrusted CMYK images to PDF with JPEG2000 compression until ImageMagick can be updated. Restricting or disabling that conversion path reduces exposure based on the affected condition described.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203