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

ImageMagick and GraphicsMagick -- DoS via specially crafted PNG file

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

Details

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

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.

References

Bugtraq ID 54716
CVE Name CVE-2012-3438
URL http://osvdb.org/show/osvdb/84323
URL http://secunia.com/advisories/50090
URL http://xforce.iss.net/xforce/xfdb/77259
URL https://bugzilla.redhat.com/show_bug.cgi?id=844105