---
id: CVE-2026-106577
title: >-
  ImageMagick is free and open-source software used for editing and manipulating
  digital images
summary: >-
  ImageMagick is free and open-source software used for editing and manipulating
  digital images. Prior to 7.1.2-31 and 6.9.13-56, unescaped or untrimmed values
  can inject code into output generated by PostScript coders. This issue is
  fixed…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N'
cwe:
  - CWE-94
vendor: ImageMagick
product: ImageMagick
affected:
  - ImageMagick < 6.9.13-56
  - 'ImageMagick >= 7.0.0, < 7.1.2-31'
published: '2026-10-07'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T17:16:52.587'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-106577'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/commit/2ba2edfd04a1ab3d45af4a0dc1e640dde7020192
    label: security-advisories@github.com
  - url: >-
      https://github.com/ImageMagick/ImageMagick/commit/78378cd623468760bee82a5930cb3011725916f8
    label: security-advisories@github.com
  - url: 'https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-31'
    label: security-advisories@github.com
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5rg6-j44q-q892
    label: security-advisories@github.com
  - url: >-
      https://github.com/ImageMagick/ImageMagick6/commit/879489740daa44dd72e9405b26c845e8aa3d2f53
    label: security-advisories@github.com
  - url: >-
      https://github.com/ImageMagick/ImageMagick6/commit/d5750d7309ef5a8cd561430d932a183e4168f484
    label: security-advisories@github.com
  - url: 'https://github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-56'
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-07T16:09:01.607394Z'
ingestedAt: '2026-10-07T16:38:22.222Z'
---

## Overview

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-31 and 6.9.13-56, unescaped or untrimmed values can inject code into output generated by PostScript coders. This issue is fixed in versions 7.1.2-31 and 6.9.13-56.

## Remediation

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