Lucene search

K
cvelistRedhatCVELIST:CVE-2020-25666
HistoryDec 08, 2020 - 12:00 a.m.

CVE-2020-25666

2020-12-0800:00:00
CWE-190
redhat
www.cve.org
8
histogramcompare
magickcore
integer overflow
rgb values
count value
ssize_t type
crafted input file
imagemagick
application reliability
patch
cve-2020-25666

AI Score

5.2

Confidence

High

EPSS

0.001

Percentile

33.5%

There are 4 places in HistogramCompare() in MagickCore/histogram.c where an integer overflow is possible during simple math calculations. This occurs in the rgb values and count value for a color. The patch uses casts to ssize_t type for these calculations, instead of int. This flaw could impact application reliability in the event that ImageMagick processes a crafted input file. This flaw affects ImageMagick versions prior to 7.0.9-0.

CNA Affected

[
  {
    "vendor": "n/a",
    "product": "ImageMagick",
    "versions": [
      {
        "version": "prior to 7.0.9-0",
        "status": "affected"
      }
    ]
  }
]

AI Score

5.2

Confidence

High

EPSS

0.001

Percentile

33.5%