| 
               imagemagick (8:6.9.7.4+dfsg-16ubuntu6.11) bionic-security; urgency=medium 
  * SECURITY UPDATE: multiple security issues
     - debian/patches/CVE-*.patch: backport multiple upstream commits.
     - CVE-2017-14528, CVE-2020-19667, CVE-2020-25665, CVE-2020-25666,
       CVE-2020-25674, CVE-2020-25675, CVE-2020-25676, CVE-2020-27750,
       CVE-2020-27751, CVE-2020-27753, CVE-2020-27754, CVE-2020-27755,
       CVE-2020-27757, CVE-2020-27758, CVE-2020-27759, CVE-2020-27754,
       CVE-2020-27760, CVE-2020-27761, CVE-2020-27762, CVE-2020-27763,
       CVE-2020-27764, CVE-2020-27765, CVE-2020-27766, CVE-2020-27767,
       CVE-2020-27768, CVE-2020-27769, CVE-2020-27770, CVE-2020-27771,
       CVE-2020-27772, CVE-2020-27773, CVE-2020-27774, CVE-2020-27775,
       CVE-2020-27776, CVE-2021-20176 
 -- Marc Deslauriers <email address hidden>  Thu, 10 Jun 2021 08:14:59 -0400 
         | 
    
    
        
        
            
            
                
                | CVE-2017-14528 | 
                The TIFFSetProfiles function in coders/tiff.c in ImageMagick 7.0.6 has incorrect expectations about whether LibTIFF TIFFGetField return values imply  | 
                 
                
                | CVE-2020-19667 | 
                Stack-based buffer overflow and unconditional jump in ReadXPMImage in coders/xpm.c in ImageMagick 7.0.10-7. | 
                 
                
                | CVE-2020-25665 | 
                The PALM image coder at coders/palm.c makes an improper call to AcquireQuantumMemory() in routine WritePALMImage() because it needs to be offset by 2 | 
                 
                
                | CVE-2020-25666 | 
                There are 4 places in HistogramCompare() in MagickCore/histogram.c where an integer overflow is possible during simple math calculations. This occurs | 
                 
                
                | CVE-2020-25674 | 
                WriteOnePNGImage() from coders/png.c (the PNG coder) has a for loop with an improper exit condition that can allow an out-of-bounds READ via heap-buf | 
                 
                
                | CVE-2020-25675 | 
                In the CropImage() and CropImageToTiles() routines of MagickCore/transform.c, rounding calculations performed on unconstrained pixel offsets was caus | 
                 
                
                | CVE-2020-25676 | 
                In CatromWeights(), MeshInterpolate(), InterpolatePixelChannel(), InterpolatePixelChannels(), and InterpolatePixelInfo(), which are all functions in  | 
                 
                
                | CVE-2020-27750 | 
                A flaw was found in ImageMagick in MagickCore/colorspace-private.h and MagickCore/quantum.h. An attacker who submits a crafted file that is processed | 
                 
                
                | CVE-2020-27751 | 
                A flaw was found in ImageMagick in MagickCore/quantum-export.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger | 
                 
                
                | CVE-2020-27753 | 
                There are several memory leaks in the MIFF coder in /coders/miff.c due to improper image depth values, which can be triggered by a specially crafted  | 
                 
                
                | CVE-2020-27754 | 
                In IntensityCompare() of /magick/quantize.c, there are calls to PixelPacketIntensity() which could return overflowed values to the caller when ImageM | 
                 
                
                | CVE-2020-27755 | 
                in SetImageExtent() of /MagickCore/image.c, an incorrect image depth size can cause a memory leak because the code which checks for the proper image  | 
                 
                
                | CVE-2020-27757 | 
                A floating point math calculation in ScaleAnyToQuantum() of /MagickCore/quantum-private.h could lead to undefined behavior in the form of a value out | 
                 
                
                | CVE-2020-27758 | 
                A flaw was found in ImageMagick in coders/txt.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined beha | 
                 
                
                | CVE-2020-27759 | 
                In IntensityCompare() of /MagickCore/quantize.c, a double value was being casted to int and returned, which in some cases caused a value outside the  | 
                 
                
                | CVE-2020-27760 | 
                In `GammaImage()` of /MagickCore/enhance.c, depending on the `gamma` value, it's possible to trigger a divide-by-zero condition when a crafted input  | 
                 
                
                | CVE-2020-27761 | 
                WritePALMImage() in /coders/palm.c used size_t casts in several areas of a calculation which could lead to values outside the range of representable  | 
                 
                
                | CVE-2020-27762 | 
                A flaw was found in ImageMagick in coders/hdr.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined beha | 
                 
                
                | CVE-2020-27763 | 
                A flaw was found in ImageMagick in MagickCore/resize.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefin | 
                 
                
                | CVE-2020-27764 | 
                In /MagickCore/statistic.c, there are several areas in ApplyEvaluateOperator() where a size_t cast should have been a ssize_t cast, which causes out- | 
                 
                
                | CVE-2020-27765 | 
                A flaw was found in ImageMagick in MagickCore/segment.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefi | 
                 
                
                | CVE-2020-27766 | 
                A flaw was found in ImageMagick in MagickCore/statistic.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger unde | 
                 
                
                | CVE-2020-27767 | 
                A flaw was found in ImageMagick in MagickCore/quantum.h. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefi | 
                 
                
                | CVE-2020-27768 | 
                In ImageMagick, there is an outside the range of representable values of type 'unsigned int' at MagickCore/quantum-private.h. This flaw affects Image | 
                 
                
                | CVE-2020-27769 | 
                In ImageMagick versions before 7.0.9-0, there are outside the range of representable values of type 'float' at MagickCore/quantize.c. | 
                 
                
                | CVE-2020-27770 | 
                Due to a missing check for 0 value of `replace_extent`, it is possible for offset `p` to overflow in SubstituteString(), causing potential impact to  | 
                 
                
                | CVE-2020-27771 | 
                In RestoreMSCWarning() of /coders/pdf.c there are several areas where calls to GetPixelIndex() could result in values outside the range of representa | 
                 
                
                | CVE-2020-27772 | 
                A flaw was found in ImageMagick in coders/bmp.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined beha | 
                 
                
                | CVE-2020-27773 | 
                A flaw was found in ImageMagick in MagickCore/gem-private.h. An attacker who submits a crafted file that is processed by ImageMagick could trigger un | 
                 
                
                | CVE-2020-27774 | 
                A flaw was found in ImageMagick in MagickCore/statistic.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger unde | 
                 
                
                | CVE-2020-27775 | 
                A flaw was found in ImageMagick in MagickCore/quantum.h. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefi | 
                 
                
                | CVE-2020-27776 | 
                A flaw was found in ImageMagick in MagickCore/statistic.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger unde | 
                 
                
                | CVE-2021-20176 | 
                A divide-by-zero flaw was found in ImageMagick 6.9.11-57 and 7.0.10-57 in gem.c. This flaw allows an attacker who submits a crafted file that is proc | 
                 
             
         |