CVE-2020-25666
Published: 8 December 2020
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.
Priority
Status
Package | Release | Status |
---|---|---|
imagemagick Launchpad, Ubuntu, Debian |
bionic |
Released
(8:6.9.7.4+dfsg-16ubuntu6.11)
|
focal |
Released
(8:6.9.10.23+dfsg-2.1ubuntu11.4)
|
|
groovy |
Released
(8:6.9.10.23+dfsg-2.1ubuntu13.3)
|
|
hirsute |
Not vulnerable
(8:6.9.11.60+dfsg-1ubuntu1)
|
|
impish |
Not vulnerable
(8:6.9.11.60+dfsg-1ubuntu1)
|
|
jammy |
Not vulnerable
(8:6.9.11.60+dfsg-1ubuntu1)
|
|
kinetic |
Not vulnerable
(8:6.9.11.60+dfsg-1ubuntu1)
|
|
precise |
Does not exist
|
|
trusty |
Needs triage
|
|
upstream |
Released
(8:6.9.11.24+dfsg-1)
|
|
xenial |
Needs triage
|
|
Patches: upstream: https://github.com/ImageMagick/ImageMagick6/commit/91ae12c57f3b9b23f2072462c27a8378b59f395e |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 3.3 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | Low |
Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |