---
id: CVE-2026-86421
title: >-
  ImageMagick before 7.1.2-30 and 6.9.13-55 contains a memory leak in the MSL
  image decoder
summary: >-
  ImageMagick before 7.1.2-30 and 6.9.13-55 contains a memory leak in the MSL
  image decoder. A crafted MSL image triggers memory allocation without proper
  deallocation, allowing an attacker to exhaust memory and cause a denial of
  service.
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-400
  - CWE-772
vendor: imagemagick
product: imagemagick
affected:
  - imagemagick < 6.9.13-55
  - 'imagemagick >= 7.0.0-0, < 7.1.2-30'
patched:
  - imagemagick 7.1.2-30
published: '2026-09-07'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T17:04:13.437'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86421'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-4jv7-q6xw-6f4x
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-30-memory-leak-via-msl-decoder
    label: disclosure@vulncheck.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-86421.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-86421'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2529440'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-86421'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86421'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.0046
epssPercentile: 0.37298
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-08T13:51:08.714216Z'
ingestedAt: '2026-09-08T15:33:26.977Z'
---

## Overview

ImageMagick before 7.1.2-30 and 6.9.13-55 contains a memory leak in the MSL image decoder. A crafted MSL image triggers memory allocation without proper deallocation, allowing an attacker to exhaust memory and cause a denial of service.

## Affected

- `imagemagick < 6.9.13-55`
- `imagemagick >= 7.0.0-0, < 7.1.2-30`

## Remediation

Upgrade past the affected range:

- `imagemagick 7.1.2-30`

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · updated 2026-09-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-86421.json)
