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.
2020-12-08T21:15:12.623
2024-11-21T05:18:24.197
Modified
CVSSv3.1: 3.3 (LOW)
AV:N/AC:M/Au:N/C:N/I:N/A:P
8.6
2.9
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | imagemagick | imagemagick | < 6.9.10-69 | Yes |
Application | imagemagick | imagemagick | < 7.0.9-0 | Yes |
Operating System | debian | debian_linux | 9.0 | Yes |