coders/rgf.c in ImageMagick before 6.9.4-10 allows remote attackers to cause a denial of service (assertion failure) by converting an image to rgf format.
https://github.com/ImageMagick/ImageMagick/pull/223
https://github.com/ImageMagick/ImageMagick/commit/a0108a892f9ea3c2bb1e7a49b7d71376c2ecbff7
https://bugzilla.redhat.com/show_bug.cgi?id=1378777
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1594060