CVE-2021-20224
JSON

5.5medium

An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum() function in MagickCore/quantum-export.c.

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.39% (higher than 35% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

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

Product or packageVersionsReported by
ImageMagickFixed in ImageMagick-7.0.10-57, ImageMagick6-6.9.11-57CVE List
imagemagick imagemagickbefore 6.9.11-57, from 7.0.0-0 before 7.0.10-57NVD

Classification

What each source says

CVE List

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.

NVD (es)

Se ha detectado un problema de desbordamiento de enteros en la función ExportIndexQuantum() de ImageMagick en el archivo MagickCore/quantum-export.c. Las llamadas a la función GetPixelIndex() podrían resultar en valores fuera del rango representable para el "unsigned char". Cuando ImageMagick procesa un archivo pdf diseñado, esto podría conllevar a un comportamiento no definido o un bloqueo.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-20224 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-20224 changed 2026-06-17Public domain