Integer Overflow in ImageMagick's ExportIndexQuantum() Function

Integer Overflow in ImageMagick's ExportIndexQuantum() Function

CVE-2021-20224 · MEDIUM Severity

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

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.

Learn more about our Web Application Penetration Testing UK.