CVE-2020-25666CWE-190

There are 4 places in HistogramCompare() in MagickCore/histogram.c where an integer overflow is possible during simple math calculations

published December 8, 2020

CVSS
—
EPSS
1%
Percentile
67.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01177 · 67.3th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2020-12-08T00:00Z
EPSS history
Timeline
  • 08 DEC 00:00Z
    There are 4 places in HistogramCompare() in MagickCore/histogram.c where an integer overflow is possible during simple math calculations
    cvelistv5