Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-39212

published medium CVSS 3.1 · 4.4

Issue when Configuring the ImageMagick Security Policy

Published
13 Sep 2021, 00:00:00 UTC
Updated
04 Aug 2024, 01:58:18 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ImageMagick — ImageMagick>= 7.0.0, < 7.1.0-7 · < 6.9.12-22 Affected Not stated GitHub_M
Alpine Linux edge imagemagick Fixed 7.1.0.10-r0 Package fix record
Debian buster imagemagick Advisory build 8:6.9.10.23+dfsg-2.1+deb10u5 DLA-3429-1
Ubuntu focal imagemagick Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Alpine Linux v3.15 imagemagick Fixed 7.1.0.10-r0 Package fix record
Alpine Linux v3.15 imagemagick6 Fixed 6.9.12.31-r0 Package fix record
Alpine Linux v3.16 imagemagick Fixed 7.1.0.10-r0 Package fix record
Alpine Linux v3.16 imagemagick6 Fixed 6.9.12.31-r0 Package fix record
Show 49 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.17 imagemagick Fixed 7.1.0.10-r0 Package fix record
Alpine Linux v3.18 imagemagick Fixed 7.1.0.10-r0 Package fix record
Alpine Linux v3.19 imagemagick Fixed 7.1.0.10-r0 Package fix record
Alpine Linux v3.20 imagemagick Fixed 7.1.0.10-r0 Package fix record
Alpine Linux v3.21 imagemagick Fixed 7.1.0.10-r0 Package fix record
Alpine Linux v3.22 imagemagick Fixed 7.1.0.10-r0 Package fix record
Alpine Linux v3.23 imagemagick Fixed 7.1.0.10-r0 Package fix record
Alpine Linux v3.24 imagemagick Fixed 7.1.0.10-r0 Package fix record
Ubuntu focal imagemagick-6-common Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal imagemagick-6.q16 Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal imagemagick-6.q16hdri Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal imagemagick-common Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libimage-magick-perl Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libimage-magick-q16-perl Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libimage-magick-q16hdri-perl Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libmagick++-6-headers Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libmagick++-6.q16-8 Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libmagick++-6.q16hdri-8 Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libmagickcore-6-arch-config Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libmagickcore-6-headers Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libmagickcore-6.q16-6 Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libmagickcore-6.q16-6-extra Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libmagickcore-6.q16hdri-6 Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libmagickcore-6.q16hdri-6-extra Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libmagickwand-6-headers Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libmagickwand-6.q16-6 Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal libmagickwand-6.q16hdri-6 Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu focal perlmagick Advisory build 8:6.9.10.23+dfsg-2.1ubuntu11.9 USN-6200-1
Ubuntu jammy imagemagick Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy imagemagick-6-common Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy imagemagick-6.q16 Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy imagemagick-6.q16hdri Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy imagemagick-common Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libimage-magick-perl Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libimage-magick-q16-perl Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libimage-magick-q16hdri-perl Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libmagick++-6-headers Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libmagick++-6.q16-8 Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libmagick++-6.q16hdri-8 Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libmagickcore-6-arch-config Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libmagickcore-6-headers Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libmagickcore-6.q16-6 Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libmagickcore-6.q16-6-extra Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libmagickcore-6.q16hdri-6 Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libmagickcore-6.q16hdri-6-extra Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libmagickwand-6-headers Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libmagickwand-6.q16-6 Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy libmagickwand-6.q16hdri-6 Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2
Ubuntu jammy perlmagick Advisory build 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 USN-5736-2

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

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

16

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.4 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ImageMagick ImageMagick >= 7.0.0, < 7.1.0-7 (affected)< 6.9.12-22 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-668 CWE-668: Exposure of Resource to Wrong Sphere (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_M · cna

Issue when Configuring the ImageMagick Security Policy

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
f21271be11509f0adc53a5bfe42da3f6256529652fb90716226b2eeaf53639f2
Ingested
23 Sep 2026, 07:55:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected