CVE-2021-20224

ImageMagick: integer overflow in ExportIndexQuantum() in MagickCore/quantum-export.c

Published Aug 25, 2022 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3357-1 imagemagick security update
EUVD EUVD EUVD-2021-7664 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.
Ubuntu USN Ubuntu USN USN-5736-1 ImageMagick vulnerabilities
Ubuntu USN Ubuntu USN USN-5736-2 ImageMagick vulnerabilities
Ubuntu USN Ubuntu USN USN-6200-1 ImageMagick vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 3, 2024, 5:30 PM
Reserved
Dec 17, 2020, 12:00 AM
Status
Modified
Published
Aug 25, 2022, 8:15 PM
Modified
Jun 17, 2026, 3:33 AM
Severity
Moderate
Public date
Aug 25, 2022, 12:00 AM