#VU33206 Input validation error in GraphicsMagick - CVE-2017-16547
Published: November 6, 2017 / Updated: August 3, 2020
GraphicsMagick
GraphicsMagick Group
Description
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop keywords that are associated with push keywords, which allows remote attackers to cause a denial of service (negative strncpy and application crash) or possibly have unspecified other impact via a crafted file.
Remediation
External links
- http://hg.code.sf.net/p/graphicsmagick/code/rev/785758bbbfcc
- https://lists.debian.org/debian-lts-announce/2017/11/msg00016.html
- https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ/
- https://sourceforge.net/p/graphicsmagick/bugs/517/
- https://usn.ubuntu.com/4248-1/
- https://www.debian.org/security/2018/dsa-4321