CVE-2021-20224

MEDIUM
5.5
CVSS Score
Published: August 25, 2022 at 12:00 AM UTC
Updated: June 17, 2026 at 03:33 AM UTC
1 product affected across 1 vendorImageMagick

Using ImageMagick by N/A?

Get instant alerts when new vulnerabilities affect ImageMagick - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.4%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.9.11-577.0.0-0 ≤ v < 7.0.10-57
Affected range stops below 6.9.11-57, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 7.0.10-57 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-190

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card