The EncodeImage function in coders/pict.c in ImageMagick allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted PICT file.
https://github.com/ImageMagick/ImageMagick/issues/80
https://bugzilla.redhat.com/show_bug.cgi?id=1378744
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1533449