CVE-2021-20311Divide By Zero in Imagemagick

CWE-369Divide By Zero5 documents5 sources
Severity
7.5HIGHNVD
EPSS
0.1%
top 68.30%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 11
Latest updateMay 24

Description

A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero in sRGBTransformImage() in the MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages4 packages

debiandebian/imagemagick< imagemagick 8:6.9.11.60+dfsg-1.5 (bookworm)
NVDimagemagick/imagemagick< 7.0.11-0
Debianimagemagick/imagemagick< 8:6.9.11.60+dfsg-1.5+2
CVEListV5imagemagick/imagemagickImageMagick 7.0.11

Patches

🔴Vulnerability Details

2
GHSA
GHSA-3ffh-qhc3-7r9v: A flaw was found in ImageMagick in versions before 72022-05-24
OSV
CVE-2021-20311: A flaw was found in ImageMagick in versions before 72021-05-11

📋Vendor Advisories

2
Red Hat
ImageMagick: Division by zero in sRGBTransformImage() in MagickCore/colorspace.c2021-02-25
Debian
CVE-2021-20311: imagemagick - A flaw was found in ImageMagick in versions before 7.0.11, where a division by z...2021