---
id: CVE-2026-109268
title: >-
  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
summary: >-
  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 J…
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-416
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T17:17:18.930'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-109268'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/commit/3285d692ebf200e9cbeff59d1ccc00caab99ad54
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j39j-wmxg-j8mv
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/ImageMagick/ImageMagick6/commit/966e227a1a8b520ea1652e2eb3ca78b08d3206f5
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-before-6.9.13-57-and-7-x-before-7.1.2-32-use-after-free-in-pdf-writer-via-jpeg2000
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-12T18:00:08.182Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
