Heap-based buffer over-read in GraphicsMagick - CVE-2018-20185
Published: December 18, 2018
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition on the target system.
The vulnerability exists in GraphicsMagick installations with customized BMP limits due to heap-based buffer over-read in the ReadBMPImage function of bmp.c when processing malicious input. A remote attacker can cause the service to crash via a crafted bmp image file.
Affected software
Debian Linux
Fedora
graphicsmagick (Ubuntu package)
graphicsmagick (Debian package)
GraphicsMagick
How to mitigate CVE-2018-20185
graphicsmagick (Debian package) - addressed in versions 1.3.30+hg15796-1~deb9u3, 1.4~hg15978-1+deb10u1
GraphicsMagick - addressed in versions 1.3.34-1.el7, 1.3.34-1.el8