CVE-2021-40211: imagemagick Divide By Zero
CVSS: 7.5v3.1HighModified
AliasesRHSA-2023:5461UBUNTU-CVE-2021-40211DEBIAN-CVE-2021-40211
Published 22-08-2023Last modified 03-10-2024
Vulnerability summary
CVE-2021-40211 is a high (CVSS 7.5) Divide By Zero vulnerability in imagemagick. EPSS estimates a 0.95% chance of exploitation in the next 30 days, higher than 60.6% of scored vulnerabilities.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
0.95%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 22-08-2023PublishedVulnerability first disclosed.
- 03-10-2024Last modifiedVulnerability information updated.
Description
An issue was discovered with ImageMagick 7.1.0-4 via Division by zero in function ReadEnhMetaFile of coders/emf.c.
CVSS metrics
4 scores · 4 sources · 1 versionHigh 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 4 agree
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.95%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
0.00 pp
From 0.95% on 18-09-2026
18-09-202618-10-2026
EPSS score0.95%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Redhat7 products
- ImageMagick< 0:6.9.10.68-7.el7_9
- ImageMagick-c++< 0:6.9.10.68-7.el7_9
- ImageMagick-c++-devel< 0:6.9.10.68-7.el7_9
- ImageMagick-debuginfo< 0:6.9.10.68-7.el7_9
- ImageMagick-devel< 0:6.9.10.68-7.el7_9
Debian1 product
- imagemagick< 8:6.9.11.60+dfsg-1.5
Imagemagick1 product
- imagemagick7.1.0-4
Ubuntu1 product
- imagemagick< 8:6.7.7.10-6ubuntu3.13+esm3 | < 8:6.8.9.9-7ubuntu5.16+esm4 | < 8:6.9.7.4+dfsg-16ubuntu6.14 | < 8:6.9.10.23+dfsg-2.1ubuntu11.9 | < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1
4 vendors · 10 products