GraphicsMagick 1.3.26 has a heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c:311:12.
https://www.debian.org/security/2018/dsa-4321
https://usn.ubuntu.com/4222-1/
https://sourceforge.net/p/graphicsmagick/bugs/436/
https://lists.debian.org/debian-lts-announce/2018/06/msg00009.html
http://www.securityfocus.com/bid/100474
http://hg.code.sf.net/p/graphicsmagick/code/rev/54f48ab2d52a