---
id: CVE-2026-93586
title: >-
  ImageMagick before 7.1.2-31 and before 6.9.13-56 contains a use-after-free
  vulnerability in the ImagesToBlob method, caused by a pointer that is not
  updated correctly
summary: >-
  ImageMagick before 7.1.2-31 and before 6.9.13-56 contains a use-after-free
  vulnerability in the ImagesToBlob method, caused by a pointer that is not
  updated correctly. Exploitation may result in a limited availability impact
  (e.g., a cra…
severity: low
cvss: 2.9
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-416
  - CWE-825
vendor: imagemagick
product: imagemagick
affected:
  - imagemagick < 6.9.13-56
  - 'imagemagick >= 7.0.0-0, < 7.1.2-31'
patched:
  - imagemagick 7.1.2-31
published: '2026-09-18'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T18:44:23.783'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93586'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3rjr-534c-8v67
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-31-use-after-free-via-imagestoblob
    label: disclosure@vulncheck.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-93586.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-93586'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2538633'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-93586'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93586'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00104
epssPercentile: 0.00995
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-18T19:05:59.451482Z'
ingestedAt: '2026-09-18T13:41:41.668Z'
---

## Overview

ImageMagick before 7.1.2-31 and before 6.9.13-56 contains a use-after-free vulnerability in the ImagesToBlob method, caused by a pointer that is not updated correctly. Exploitation may result in a limited availability impact (e.g., a crash of the affected process). The issue is fixed in versions 7.1.2-31 and 6.9.13-56.

## Affected

- `imagemagick < 6.9.13-56`
- `imagemagick >= 7.0.0-0, < 7.1.2-31`

## Remediation

Upgrade past the affected range:

- `imagemagick 7.1.2-31`

## 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-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-93586.json)
