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 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

ImageMagick prior to version 6.9.13-57 and 7.x before 7.1.2-32 contains a use‑after‑free flaw in the PDF writer when handling CMYK images compressed with JPEG2000. A crafted CMYK raster can trigger allocated memory to be freed and subsequently reused during the JPEG2000 processing step, leading the process to crash. The vulnerability does not provide direct remote code execution or data disclosure; its impact is primarily a denial‑of‑service condition for the target process.

Affected Systems

The issue affects the ImageMagick software suite. Vulnerable builds are any 6.x releases older than 6.9.13-57 and any 7.x releases older than 7.1.2-32. The problem is present in the PDF writer component that handles JPEG2000‑compressed CMYK images.

Risk and Exploitability

The flaw carries a CVSS score of 6.3, indicating a moderate severity. There is no EPSS data available, and the vulnerability has not been listed in the CISA KEV catalog. Attackers would need to supply a malicious PDF (or PNG, etc.) that exercises the PDF writer's JPEG2000 CMYK path, which is likely a local or remote file‑processing scenario. Because the vulnerability is limited to the specific image‑compression pipeline and only causes a crash, exploitation chances are moderate and the impact is confined to denial of service rather than data compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to at least 6.9.13-57 or 7.1.2-32, the latest supported release.
  • If an upgrade is not feasible, avoid generating PDFs with CMYK images that use JPEG2000 compression; instead use a different color space or compression method.
  • Validate input images before passing them to ImageMagick's PDF writer or apply a sandbox to isolate the conversion process.

Generated by OpenCVE AI on October 13, 2026 at 01:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4875-1 imagemagick security update
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Use After Free in PDF Writer via JPEG2000
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-416
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 13, 2026, 3:33 PM
Reserved
Oct 12, 2026, 2:11 PM
Status
Analyzed
Published
Oct 12, 2026, 5:17 PM
Modified
Nov 3, 2026, 5:07 PM
Severity
Low
Public date
Oct 12, 2026, 4:04 PM