In ImageMagick 7.0.6-6 and GraphicsMagick 1.3.26, a heap-based buffer over-read was found in the function SFWScan in coders/sfw.c, which allows attackers to cause a denial of service via a crafted file.
http://hg.code.sf.net/p/graphicsmagick/code/rev/1b47e0078e05
http://www.securityfocus.com/bid/100476
https://github.com/ImageMagick/ImageMagick/issues/670
https://lists.debian.org/debian-lts-announce/2017/11/msg00016.html
https://lists.debian.org/debian-lts-announce/2018/06/msg00009.html
https://security.gentoo.org/glsa/201711-07
https://usn.ubuntu.com/3681-1/
https://www.debian.org/security/2017/dsa-4032
Source: MITRE
Published: 2017-08-23
Updated: 2019-10-03
Type: CWE-125
Base Score: 4.3
Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P
Impact Score: 2.9
Exploitability Score: 8.6
Severity: MEDIUM
Base Score: 6.5
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Impact Score: 3.6
Exploitability Score: 2.8
Severity: MEDIUM