5.5

CVE-2021-20224: imagemagick Integer Overflow or Wraparound

CVSS: 5.5v3.1MediumModified
AliasesSUSE-SU-2022:3138-1UBUNTU-CVE-2021-20224DEBIAN-CVE-2021-20224
Published 25-08-2022Last modified 03-08-2024

Vulnerability summary

CVE-2021-20224 is a medium (CVSS 5.5) Integer Overflow or Wraparound vulnerability in imagemagick. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30.9% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.38%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 5

Timeline

  1. 25-08-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.38%

Chance of exploitation in the next 30 days

Percentile

31%

Versus all other CVEs

30-day change

0.00 pp

From 0.38% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.38%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Suse4 products
  • ImageMagick&distro=SUSE Linux Enterprise Server 12 SP5< 6.8.8.1-71.180.1
  • ImageMagick&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5< 6.8.8.1-71.180.1
  • ImageMagick&distro=SUSE Linux Enterprise Software Development Kit 12 SP5< 6.8.8.1-71.180.1
  • ImageMagick&distro=SUSE Linux Enterprise Workstation Extension 12 SP5< 6.8.8.1-71.180.1
Debian1 product
  • imagemagick< 8:6.9.11.57+dfsg-1
Imagemagick1 product
Ubuntu1 product
  • imagemagick< 8:6.7.7.10-6ubuntu3.13+esm3 | < 8:6.8.9.9-7ubuntu5.16+esm5 | < 8:6.9.7.4+dfsg-16ubuntu6.14 | < 8:6.9.10.23+dfsg-2.1ubuntu11.9 | < 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

4 vendors · 7 products

References

13 links
Show all 13 references