imagemagick: In the function ReadTXTImage() in coders/txt.c in ImageMagick 7.0.6-10, an integer overflow might occur for the addit...
CVE-2017-14173 is fixed in 21 products on 1 platform, first by imagemagick 8:6.9.7.4+dfsg-16ubuntu6.2, released May 31, 2018. It is not reported as exploited. Patch Radar priority: Routine.
In the function ReadTXTImage() in coders/txt.c in ImageMagick 7.0.6-10, an integer overflow might occur for the addition operation "GetQuantumRange(depth)+1" when "depth" is large, producing a smaller value than expected. As a result, an infinite loop would occur for a crafted TXT file that claims a very large "max_value" value.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| imagemagick · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | imagemagick 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| imagemagick-6-common · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | imagemagick-6-common 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| imagemagick-6.q16 · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | imagemagick-6.q16 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| imagemagick-6.q16hdri · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | imagemagick-6.q16hdri 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| imagemagick-common · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | imagemagick-common 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libimage-magick-perl · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libimage-magick-perl 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libimage-magick-q16-perl · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libimage-magick-q16-perl 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libimage-magick-q16hdri-perl · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libimage-magick-q16hdri-perl 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libmagick++-6-headers · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libmagick++-6-headers 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libmagick++-6.q16-7 · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libmagick++-6.q16-7 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libmagick++-6.q16hdri-7 · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libmagick++-6.q16hdri-7 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libmagickcore-6-arch-config · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libmagickcore-6-arch-config 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libmagickcore-6-headers · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libmagickcore-6-headers 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libmagickcore-6.q16-3 · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libmagickcore-6.q16-3 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libmagickcore-6.q16-3-extra · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libmagickcore-6.q16-3-extra 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libmagickcore-6.q16hdri-3 · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libmagickcore-6.q16hdri-3 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libmagickcore-6.q16hdri-3-extra · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libmagickcore-6.q16hdri-3-extra 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libmagickwand-6-headers · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libmagickwand-6-headers 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libmagickwand-6.q16-3 · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libmagickwand-6.q16-3 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| libmagickwand-6.q16hdri-3 · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | libmagickwand-6.q16hdri-3 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
| perlmagick · Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.2 | perlmagick 8:6.9.7.4+dfsg-16ubuntu6.2 | May 31, 2018 |
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.