CVEvulnerability

CVE-2021-20224

5.5 MEDIUM Published 2022-08-25 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-08-25
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weaknesses
CWE-190

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 configurations

• imagemagick imagemagick (< 6.9.11-57) • imagemagick imagemagick (>= 7.0.0-0 < 7.0.10-57)

Related

Weakness · CWE (1)

  • CWE-190 Integer Overflow or Wraparound weakness

References