5.5

CVE-2021-20224: imagemagick Integer Overflow or Wraparound

Modified
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.39% chance of exploitation in the next 30 days, higher than 35.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.39%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.39%

Chance of exploitation in the next 30 days

Percentile

35%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.39% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

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
Alpine1 product
  • imagemagick≥ 7.0.0-0, < 7.0.10.57-r0 | < 7.0.10.57-r0
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

5 vendors · 8 products

References

14 links
Show all 14 references