CVE-2021-39212

Summary

CVECVE-2021-39212
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-09-13 18:15:00 UTC
Updated2023-05-22 02:15:00 UTC
DescriptionImageMagick 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}" />.

Risk And Classification

Problem Types: CWE-668

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Imagemagick Imagemagick All All All All

References

ReferenceSourceLinkTags
Added missing policy checks in RegisterStaticModules. · ImageMagick/ImageMagick@35893e7 · GitHub MISC github.com
Use the correct rights. · ImageMagick/ImageMagick@01faddb · GitHub MISC github.com
[SECURITY] [DLA 3429-1] imagemagick security update MLIST lists.debian.org
Possible Security Issue when Configuring the ImageMagick Security Policy · Advisory · ImageMagick/ImageMagick · GitHub CONFIRM github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 181795 Debian Security Update for imagemagick (DLA 3429-1)
  • 182177 Debian Security Update for imagemagick (CVE-2021-39212)
  • 199045 Ubuntu Security Notification for ImageMagick Vulnerabilities (USN-5736-1)
  • 199524 Ubuntu Security Notification for ImageMagick Vulnerabilities (USN-6200-1)
  • 296061 Oracle Solaris 11.4 Support Repository Update (SRU) 42.113.1 Missing (CPUJAN2022)
  • 502102 Alpine Linux Security Update for imagemagick
  • 502103 Alpine Linux Security Update for imagemagick6
  • 502307 Alpine Linux Security Update for imagemagick6
  • 671357 EulerOS Security Update for ImageMagick (EulerOS-SA-2022-1270)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report