CVE-2021-20224

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

History

11 Mar 2023, 23:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html -

29 Aug 2022, 16:37

Type Values Removed Values Added
CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-190
First Time Imagemagick
Imagemagick imagemagick
References (MISC) https://github.com/ImageMagick/ImageMagick/pull/3083 - (MISC) https://github.com/ImageMagick/ImageMagick/pull/3083 - Issue Tracking, Patch, Third Party Advisory
References (MISC) https://github.com/ImageMagick/ImageMagick6/commit/553054c1cb1e4e05ec86237afef76a32cd7c464d - (MISC) https://github.com/ImageMagick/ImageMagick6/commit/553054c1cb1e4e05ec86237afef76a32cd7c464d - Patch, Third Party Advisory
References (MISC) https://github.com/ImageMagick/ImageMagick/commit/5af1dffa4b6ab984b5f13d1e91c95760d75f12a6 - (MISC) https://github.com/ImageMagick/ImageMagick/commit/5af1dffa4b6ab984b5f13d1e91c95760d75f12a6 - Patch, Third Party Advisory

25 Aug 2022, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-08-25 20:15

Updated : 2023-12-10 14:35


NVD link : CVE-2021-20224

Mitre link : CVE-2021-20224

CVE.ORG link : CVE-2021-20224


JSON object : View

Products Affected

imagemagick

  • imagemagick
CWE
CWE-190

Integer Overflow or Wraparound