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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2022-08-25T00:00:00

Updated: 2024-08-03T17:30:07.484Z

Reserved: 2020-12-17T00:00:00

Link: CVE-2021-20224

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-08-25T20:15:08.873

Modified: 2024-11-21T05:46:09.763

Link: CVE-2021-20224

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-08-25T00:00:00Z

Links: CVE-2021-20224 - Bugzilla