CVE-2021-20224

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductImagemagick
PublishedAug 25, 2022
First seenAug 25, 2022

How to fix

Update
  • imagemagick imagemagick6.9.11-57, 7.0.10-57 or later

Affected products

ProductAffected versionsFixed in
imagemagick imagemagickv < 6.9.11-57, 7.0.0-0 ≤ v < 7.0.10-576.9.11-57, 7.0.10-57

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-20224 · Imagemagick · Dark Radar