CVE-2021-39212

Issue when Configuring the ImageMagick Security Policy

LOW
3.6
CVSS Score
Published: September 13, 2021 at 12:00 AM UTC
Updated: June 17, 2026 at 04:03 AM UTC
1 product affected across 1 vendorImageMagick

Using ImageMagick by ImageMagick?

Get instant alerts when new vulnerabilities affect ImageMagick - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW3.6
Exploit prediction
EPSS 0.4%

Description

ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you may use, copy, modify, and distribute in both open and proprietary applications. In affected versions and in certain cases, Postscript files could be read and written when specifically excluded by a `module` policy in `policy.xml`. ex. <policy domain="module" rights="none" pattern="PS" />. The issue has been resolved in ImageMagick 7.1.0-7 and in 6.9.12-22. Fortunately, in the wild, few users utilize the `module` policy and instead use the `coder` policy that is also our workaround recommendation: <policy domain="coder" rights="none" pattern="{PS,EPI,EPS,EPSF,EPSI}" />.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.9.12-22v < 7.1.0-76.9.12-0 ≤ v < 6.9.12-227.1.0-0 ≤ v < 7.1.0-7
Affected range stops below 6.9.12-22, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.1.0-7, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-668CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card