CVE-2021-20310: imagemagick Divide By Zero
Vulnerability summary
CVE-2021-20310 is a high (CVSS 7.8) Divide By Zero vulnerability in imagemagick. EPSS estimates a 1.29% chance of exploitation in the next 30 days, higher than 69.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 11-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.29%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
0.00 pp
From 1.29% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard1 product
- imagemagick-6All versions (No fix recorded)
Imagemagick1 product
- imagemagick< 7.0.11-0
2 vendors · 2 products
References
1 links- bugzilla.redhat.com/show_bug.cgi?id=1946728X Refsource MISCFIXIssue TrackingPatchThird Party Advisory