CVE-2020-25675

Published: 08 December 2020

In the CropImage() and CropImageToTiles() routines of MagickCore/transform.c, rounding calculations performed on unconstrained pixel offsets was causing undefined behavior in the form of integer overflow and out-of-range values as reported by UndefinedBehaviorSanitizer. Such issues could cause a negative impact to application availability or other problems related to undefined behavior, in cases where ImageMagick processes untrusted input data. The upstream patch introduces functionality to constrain the pixel offsets and prevent these issues. This flaw affects ImageMagick versions prior to 7.0.9-0.

Priority

Low

CVSS 3 base score: 3.3

Status

Package Release Status
imagemagick
Launchpad, Ubuntu, Debian
Upstream
Released (8:6.9.11.24+dfsg-1)
Ubuntu 21.04 (Hirsute Hippo) Not vulnerable
(8:6.9.11.60+dfsg-1ubuntu1)
Ubuntu 20.10 (Groovy Gorilla)
Released (8:6.9.10.23+dfsg-2.1ubuntu13.3)
Ubuntu 20.04 LTS (Focal Fossa)
Released (8:6.9.10.23+dfsg-2.1ubuntu11.4)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (8:6.9.7.4+dfsg-16ubuntu6.11)
Ubuntu 16.04 ESM (Xenial Xerus) Needs triage

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Patches:
Upstream: https://github.com/ImageMagick/ImageMagick6/commit/6b169173585127299f4724f7880b575879c7f033