{"id":"CVE-2020-25666","published":"2020-12-08T00:00:00Z","modified":"2024-08-04T15:40:36Z","title":"There are 4 places in HistogramCompare() in MagickCore/histogram.c where an integer overflow is possible during simple…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01177,"percentile":0.68375,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1891612","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html","tags":["mailing-list"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":13.67}]},"affectedVersions":[{"vendor":"n/a","product":"ImageMagick","versions":["prior to 7.0.9-0"]}],"euvd":{"id":"EUVD-2020-18328","exploited":false,"provenance":"source"}}