FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

ImageMagick and GraphicsMagick -- DoS via specially crafted PNG file

Affected packages
ImageMagick <=
ImageMagick-nox11 <=
1.3.0 <= GraphicsMagick <= 1.3.16
1.3.0 <= GraphicsMagick-nox11 <= 1.3.16


VuXML ID 98690c45-0361-11e2-a391-000c29033c32
Discovery 2012-07-28
Entry 2012-09-20
Modified 2014-04-30

Kurt Seifried reports:

There is an issue in ImageMagick that is also present in GraphicsMagick. CVE-2011-3026 deals with libpng memory allocation, and limitations have been added so that a bad PNG can't cause the system to allocate a lot of memory and a denial of service. However on further investigation of ImageMagick, Tom Lane found that PNG malloc function (Magick_png_malloc) in turn calls AcquireMagickMemory with an improper size argument.


Bugtraq ID 54716
CVE Name CVE-2012-3438