Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-39212

ImageMagick: possible read or write in postscript files

Overview

Published
13 Sep 2021
Modified
17 Jun 2026
Low CVE
1 Registry packages
9 OS packages
8 Linux distributions
Yes Fix available

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}" />.

Source: OX vulnerability database

Severity

3.6 · LOW

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Weakness: CWE-668, CWE-362

Affected packages · 1

Packages affected by CVE-2021-39212
EcosystemPackageVulnerableFixed in
Julia ImageMagick_jll >=6.9.12+0, <6.9.12+1 6.9.12+1

Open a package to see all its vulnerabilities.

Operating systems · 22 fixes

Photon OS 1 release · 1 package

fixed 1
imagemagick
Photon OS fixes for CVE-2021-39212
ReleasePackageFixed in
4.0 imagemagick +5 7.1.0.1-2.ph4

Red Hat 1 release · 1 package

eol 1
imagemagick
Red Hat fixes for CVE-2021-39212
ReleasePackageFixed in
7 imagemagick +5 eol

alpine 4 releases · 1 package

fixed 4
imagemagick
alpine fixes for CVE-2021-39212
ReleasePackageFixed in
3.22 imagemagick 7.1.0.10-r0
3.23 imagemagick 7.1.0.10-r0
3.24 imagemagick 7.1.0.10-r0
edge imagemagick 7.1.0.10-r0

debian 6 releases · 1 package

fixed 5 affected 1
imagemagick
debian fixes for CVE-2021-39212
ReleasePackageFixed in
10 imagemagick 8:6.9.10.23+dfsg-2.1+deb10u5
11 imagemagick 8:6.9.11.60+dfsg-1.3+deb11u2
12 imagemagick 8:6.9.11.60+dfsg-1.5
13 imagemagick 8:6.9.11.60+dfsg-1.5
14 imagemagick 8:6.9.11.60+dfsg-1.5
9 imagemagick affected

echo 1 release · 1 package

fixed 1
imagemagick
echo fixes for CVE-2021-39212
ReleasePackageFixed in
imagemagick 8:6.9.11.60+dfsg-1.5

root.io debian 3 releases · 1 package

fixed 3
rootio-imagemagick
root.io debian fixes for CVE-2021-39212
ReleasePackageFixed in
11 rootio-imagemagick 8:6.9.11.60+dfsg-1.3+deb11u2
12 rootio-imagemagick 8:6.9.11.60+dfsg-1.5
13 rootio-imagemagick 8:6.9.11.60+dfsg-1.5

seal Red Hat 1 release · 1 package

fixed 1
imagemagick
seal Red Hat fixes for CVE-2021-39212
ReleasePackageFixed in
7 imagemagick +1 6.9.10.68-6.el7_9+sp999

ubuntu 5 releases · 1 package

fixed 4 affected 1
imagemagick
ubuntu fixes for CVE-2021-39212
ReleasePackageFixed in
20.04 imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.9
20.04-ESM imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.9
22.04 imagemagick affected
24.04 imagemagick 8:6.9.11.60+dfsg-1.3ubuntu1
26.04 imagemagick 8:6.9.11.60+dfsg-1.3ubuntu1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.