cbcvebase.
CVE-2021-20224
published 2022-08-25

CVE-2021-20224: An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum() function in MagickCore/quantum-export.c. Function calls to GetPixelIndex() could…

PriorityP419medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
0.36%
29.1th percentile
An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum() function in MagickCore/quantum-export.c. Function calls to GetPixelIndex() could result in values outside the range of representable for the 'unsigned char'. When ImageMagick processes a crafted pdf file, this could lead to an undefined behaviour or a crash.

Affected

19 ranges
VendorProductVersion rangeFixed in
debianimagemagick< imagemagick 8:6.9.11.57+dfsg-1 (bookworm)imagemagick 8:6.9.11.57+dfsg-1 (bookworm)
imagemagickimagemagick< 6.9.11-576.9.11-57
imagemagickimagemagick
imagemagickimagemagick>= 0 < 8:6.9.11.57+dfsg-18:6.9.11.57+dfsg-1
imagemagickimagemagick>= 0 < 8:6.9.11.57+dfsg-18:6.9.11.57+dfsg-1
imagemagickimagemagick>= 0 < 8:6.9.11.57+dfsg-18:6.9.11.57+dfsg-1
imagemagickimagemagick>= 0 < 8:6.9.11.57+dfsg-18:6.9.11.57+dfsg-1
imagemagickimagemagick>= 0 < 8:6.9.7.4+dfsg-16ubuntu6.148:6.9.7.4+dfsg-16ubuntu6.14
imagemagickimagemagick>= 0 < 8:6.9.10.23+dfsg-2.1ubuntu11.98:6.9.10.23+dfsg-2.1ubuntu11.9
imagemagickimagemagick>= 0 < 8:6.9.10.23+dfsg-2.1ubuntu11.108:6.9.10.23+dfsg-2.1ubuntu11.10
imagemagickimagemagick>= 0 < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.58:6.9.11.60+dfsg-1.3ubuntu0.22.04.5
imagemagickimagemagick>= 0 < 8:6.7.7.10-6ubuntu3.13+esm38:6.7.7.10-6ubuntu3.13+esm3
imagemagickimagemagick>= 0 < 8:6.8.9.9-7ubuntu5.16+esm88:6.8.9.9-7ubuntu5.16+esm8
imagemagickimagemagick>= 0 < 8:6.8.9.9-7ubuntu5.16+esm58:6.8.9.9-7ubuntu5.16+esm5
imagemagickimagemagick>= 0 < 8:6.9.7.4+dfsg-16ubuntu6.15+esm18:6.9.7.4+dfsg-16ubuntu6.15+esm1
imagemagickimagemagick>= 0 < 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm18:6.9.10.23+dfsg-2.1ubuntu11.4+esm1
imagemagickimagemagick>= 0 < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm18:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1
imagemagickimagemagick>= 0 < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm28:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2
imagemagickimagemagick>= 7.0.0-0 < 7.0.10-577.0.10-57

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.