Description
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.
Published: 2026-10-07
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Code Injection
Action: Apply Patch
AI Analysis

Impact

The vulnerability lies in the way ImageMagick’s PostScript coders handle unescaped or untrimmed input values. When these values are passed directly into the generated PostScript output, an attacker can inject arbitrary code that will be interpreted by the PostScript engine. This flaw is a classic example of CWE‑94 and allows the execution of the embedded code, compromising the integrity of image processing and potentially enabling broader system compromise.

Affected Systems

All installations of ImageMagick earlier than version 7.1.2‑31 and 6.9.13‑56 are affected. The vulnerability applies to any deployment that uses the PostScript coders on untrusted input, regardless of the platform or configuration.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. The EPSS score is not available and the flaw is not listed in the CISA KEV catalog, suggesting limited known exploitation. The attack vector is inferred to be either local or remote; applications that accept user‑supplied images (or PostScript data) and process them through ImageMagick may be exploited by supplying crafted PostScript input that triggers the code injection.

Generated by OpenCVE AI on October 7, 2026 at 18:25 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to at least version 7.1.2‑31 or 6.9.13‑56, which includes the fix for the injection flaw.
  • If an upgrade is not immediately possible, limit the source and content of images processed by ImageMagick to trusted or strictly validated files, ensuring that any PostScript parameters are escaped or trimmed before use.
  • Disable or remove the PostScript coder feature from the ImageMagick installation if it is not required for the application’s functionality, or replace it with an alternative image processing library that does not expose this flaw.

Generated by OpenCVE AI on October 7, 2026 at 18:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4858-1 imagemagick security update
History

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

Thu, 08 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 08 Oct 2026 07:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 07 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick

Wed, 07 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description 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.
Title ImageMagick: Code Injection in the postscript coders
Weaknesses CWE-94
References
Metrics cvssV3_1

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


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-07T16:09:15.937Z

Reserved: 2026-10-06T20:31:59.017Z

Link: CVE-2026-106577

cve-icon Vulnrichment

Updated: 2026-10-07T16:09:10.464Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-07T16:17:44.033

Modified: 2026-10-21T16:01:05.827

Link: CVE-2026-106577

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-07T15:39:23Z

Links: CVE-2026-106577 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T18:30:14Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')