imagemagick: In CatromWeights(), MeshInterpolate(), InterpolatePixelChannel(), InterpolatePixelChannels(), and InterpolatePixelInf...
CVE-2020-25676 is fixed in 29 products on 1 platform, first by imagemagick 8:6.9.7.4+dfsg-16ubuntu6.11, released May 14, 2021. It is not reported as exploited. Patch Radar priority: Routine.
In CatromWeights(), MeshInterpolate(), InterpolatePixelChannel(), InterpolatePixelChannels(), and InterpolatePixelInfo(), which are all functions in /MagickCore/pixel.c, there were multiple unconstrained pixel offset calculations which were being used with the floor() function. These calculations produced undefined behavior in the form of out-of-range and integer overflows, as identified by UndefinedBehaviorSanitizer. These instances of undefined behavior could be triggered by an attacker who is able to supply a crafted input file to be processed by ImageMagick. These issues could impact application availability or potentially cause other problems related to undefined behavior. This flaw affects ImageMagick versions prior to 7.0.9-0.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| imagemagick · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | imagemagick 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| imagemagick · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| imagemagick-6-common · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | imagemagick-6-common 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| imagemagick-6-common · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | imagemagick-6-common 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| imagemagick-6.q16 · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | imagemagick-6.q16 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| imagemagick-6.q16 · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | imagemagick-6.q16 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| imagemagick-6.q16hdri · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | imagemagick-6.q16hdri 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| imagemagick-6.q16hdri · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | imagemagick-6.q16hdri 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| imagemagick-common · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | imagemagick-common 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| imagemagick-common · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | imagemagick-common 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libimage-magick-perl · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libimage-magick-perl 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libimage-magick-perl · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libimage-magick-perl 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libimage-magick-q16-perl · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libimage-magick-q16-perl 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libimage-magick-q16-perl · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libimage-magick-q16-perl 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libimage-magick-q16hdri-perl · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libimage-magick-q16hdri-perl 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libimage-magick-q16hdri-perl · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libimage-magick-q16hdri-perl 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libmagick++-6-headers · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libmagick++-6-headers 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libmagick++-6-headers · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libmagick++-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libmagick++-6.q16-7 · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libmagick++-6.q16-7 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libmagick++-6.q16-8 · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libmagick++-6.q16-8 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libmagick++-6.q16hdri-7 · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libmagick++-6.q16hdri-7 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libmagick++-6.q16hdri-8 · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libmagick++-6.q16hdri-8 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libmagickcore-6-arch-config · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libmagickcore-6-arch-config 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libmagickcore-6-arch-config · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libmagickcore-6-arch-config 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libmagickcore-6-headers · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libmagickcore-6-headers 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libmagickcore-6-headers · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libmagickcore-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libmagickcore-6.q16-3 · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libmagickcore-6.q16-3 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libmagickcore-6.q16-3-extra · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libmagickcore-6.q16-3-extra 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libmagickcore-6.q16-6 · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libmagickcore-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libmagickcore-6.q16-6-extra · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libmagickcore-6.q16-6-extra 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libmagickcore-6.q16hdri-3 · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libmagickcore-6.q16hdri-3 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libmagickcore-6.q16hdri-3-extra · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libmagickcore-6.q16hdri-3-extra 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libmagickcore-6.q16hdri-6 · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libmagickcore-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libmagickcore-6.q16hdri-6-extra · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libmagickcore-6.q16hdri-6-extra 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libmagickwand-6-headers · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libmagickwand-6-headers 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libmagickwand-6-headers · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libmagickwand-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libmagickwand-6.q16-3 · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libmagickwand-6.q16-3 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libmagickwand-6.q16-6 · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libmagickwand-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| libmagickwand-6.q16hdri-3 · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | libmagickwand-6.q16hdri-3 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| libmagickwand-6.q16hdri-6 · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | libmagickwand-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
| perlmagick · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.11 | perlmagick 8:6.9.7.4+dfsg-16ubuntu6.11 | May 14, 2021 |
| perlmagick · Ubuntu 20.04 LTS (focal) | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | perlmagick 8:6.9.10.23+dfsg-2.1ubuntu11.4 | May 14, 2021 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.