CVE-2021-20310
A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero...
A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero ConvertXYZToJzazbz() of MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero ConvertXYZToJzazbz() of MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.
- Record
CVE-2021-20310- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 7.8 High
AV:N/AC:L/Au:N/C:N/I:N/A:C - Weakness
- CWE-369
- Updated
- 2026-11-02
CVE List No score
A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero ConvertXYZToJzazbz() of MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.
- Record
CVE-2021-20310- Weakness
- CWE-369
- Updated
- 2026-11-02
EUVDEUVD-2021-7735 No score
A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero ConvertXYZToJzazbz() of MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.
- Record
EUVD-2021-7735- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-g68g-qfgw-mffh No score
A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero...
A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero ConvertXYZToJzazbz() of MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.
- Record
GHSA-g68g-qfgw-mffh- Weakness
- CWE-369
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-20310
7.5
A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero ConvertXYZToJzazbz() of MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.
- Record
ALPINE-CVE-2021-20310- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSV
7.5
A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero ConvertXYZToJzazbz() of MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.
- Record
CVE-2021-20310- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVJLSEC-2026-885
7.5
A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero ConvertXYZToJzazbz() of MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.
- Record
JLSEC-2026-885- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 7.8 High
AV:N/AC:L/Au:N/C:N/I:N/A:C - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
imagemagickAlpine:v3.13 |
before 7.0.11.13-r0 | 7.0.11.13-r0 |
imagemagickAlpine:v3.14 |
before 7.0.11.1-r0 | 7.0.11.1-r0 |
imagemagickAlpine:v3.15 |
before 7.0.11.1-r0 | 7.0.11.1-r0 |
imagemagickAlpine:v3.16 |
before 7.0.11.1-r0 | 7.0.11.1-r0 |
imagemagickAlpine:v3.17 |
before 7.0.11.1-r0 | 7.0.11.1-r0 |
imagemagickAlpine:v3.18 |
before 7.0.11.1-r0 | 7.0.11.1-r0 |
imagemagickAlpine:v3.19 |
before 7.0.11.1-r0 | 7.0.11.1-r0 |
imagemagickAlpine:v3.20 |
before 7.0.11.1-r0 | 7.0.11.1-r0 |
imagemagickAlpine:v3.21 |
before 7.0.11.1-r0 | 7.0.11.1-r0 |
imagemagickAlpine:v3.22 |
before 7.0.11.1-r0 | 7.0.11.1-r0 |
imagemagickAlpine:v3.23 |
before 7.0.11.1-r0 | 7.0.11.1-r0 |
imagemagickAlpine:v3.24 |
before 7.0.11.1-r0 | 7.0.11.1-r0 |
ImageMagick_jllJulia |
before 7.1.0+0 | 7.1.0+0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-20310 is a high vulnerability (CVSS 7.5) in Imagemagick, published May 11, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.29%, the 70th percentile. Fixed in imagemagick 7.0.11.13-r0.