---
id: CVE-2026-86425
title: >-
  ImageMagick before 7.1.2-30 and 6.9.x before 6.9.13-55 contains a
  heap-use-after-free vulnerability in the Layer method of PerlMagick
summary: >-
  ImageMagick before 7.1.2-30 and 6.9.x before 6.9.13-55 contains a
  heap-use-after-free vulnerability in the Layer method of PerlMagick. An
  attacker who supplies a crafted list of images can trigger memory access after
  deallocation, result…
severity: low
cvss: 3.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'
cwe:
  - CWE-416
  - CWE-825
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-09T16:37:29.710'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86425'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-chf5-8rv9-gjqr
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-30-heap-use-after-free-via-layer
    label: disclosure@vulncheck.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-86425.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-86425'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2529445'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-86425'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86425'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-09T14:30:04.058931Z'
epss: 0.00152
epssPercentile: 0.03663
ingestedAt: '2026-09-08T20:10:03.179Z'
---

## Overview

ImageMagick before 7.1.2-30 and 6.9.x before 6.9.13-55 contains a heap-use-after-free vulnerability in the Layer method of PerlMagick. An attacker who supplies a crafted list of images can trigger memory access after deallocation, resulting in a crash (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-86425.json)
