CVE-2021-39212Imagemagick
Low 3.6
Follow: this CVE · Imagemagick · Imagemagick We alert you by email or Slack (account required).
- Priority
- 22
- CVSS 3.1
- 3.6
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 21
- Auth required
- Yes
- Published
- Sep 13, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
What happens
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}" />.
What to do
- Apply the vendor's security update for Imagemagick.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| imagemagick | imagemagick | ≥ 6.9.12-0 < 6.9.12-22 |
| imagemagick | imagemagick | ≥ 7.1.0-0 < 7.1.0-7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- lists.debian.org