ImageMagick 7.0.8-50 Q16 has a stack-based buffer overflow at coders/pnm.c in WritePNMImage because of off-by-one errors.
https://www.debian.org/security/2020/dsa-4715
https://usn.ubuntu.com/4192-1/
https://lists.debian.org/debian-lts-announce/2019/08/msg00021.html
https://github.com/ImageMagick/ImageMagick6/commit/cb5ec7d98195aa74d5ed299b38eff2a68122f3fa
https://github.com/ImageMagick/ImageMagick/issues/1612
https://github.com/ImageMagick/ImageMagick/commit/e92040ea6ee2a844ebfd2344174076795a4787bd
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00069.html