Heap-based buffer overflow in the ReadSFWImage function in coders/sfw.c in ImageMagick 7.0.6-8 allows attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted file. Upstream patches: https://github.com/ImageMagick/ImageMagick/commit/d4145e664aea3752ca6d3bf1ee825352b595dab5 https://github.com/ImageMagick/ImageMagick/commit/26078285f49c361ad8ddc8e14bd1d4aab7ed5682
Upstream issue: https://github.com/ImageMagick/ImageMagick/issues/682