coders/psd.c in ImageMagick allows remote attackers to have unspecified impact by leveraging an improper cast, which triggers a heap-based buffer overflow.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851374
https://github.com/ImageMagick/ImageMagick/commit/7d65a814ac76bd04760072c33e452371692ee790
https://github.com/ImageMagick/ImageMagick/commit/c8c6a0f123d5e35c173125365c97e2c0fc7eca42
https://github.com/ImageMagick/ImageMagick/issues/347
https://security.gentoo.org/glsa/201702-09
http://www.debian.org/security/2017/dsa-3799