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.
References
Link | Resource |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1891612 | Exploit Issue Tracking Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html | Mailing List Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html |
Configurations
History
11 Mar 2023, 23:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
|
CWE |
25 Mar 2021, 21:11
Type | Values Removed | Values Added |
---|---|---|
References | (MLIST) https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html - Mailing List, Third Party Advisory | |
CPE | cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
24 Mar 2021, 01:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
Information
Published : 2020-12-08 21:15
Updated : 2023-12-10 13:41
NVD link : CVE-2020-25666
Mitre link : CVE-2020-25666
CVE.ORG link : CVE-2020-25666
JSON object : View
Products Affected
imagemagick
- imagemagick
debian
- debian_linux
CWE
CWE-190
Integer Overflow or Wraparound