Improper input validation in GraphicsMagick - CVE-2018-20189
Published: December 17, 2018 / Updated: June 17, 2019
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition on the target system.
The vulnerability exists due to an error in the ReadDIBImage function of coders/dib.c when processing malicious input in DIB reader. A remote attacker can cause the service to crash via a dib file that is crafted to appear with direct pixel values and also colormapping (which is not available beyond 8-bits/sample), and therefore lacks indexes initialization.
Affected software
Debian Linux
Fedora
Ubuntu
Opensuse
graphicsmagick (Ubuntu package)
graphicsmagick (Alpine package)
libgraphicsmagick-q16-3 (Ubuntu package)
libgraphicsmagick3 (Ubuntu package)
graphicsmagick (Debian package)
GraphicsMagick
How to mitigate CVE-2018-20189
graphicsmagick (Ubuntu package) - addressed in versions Ubuntu Pro, 1.3.28-2ubuntu0.1, 1.4+really1.3.35-1ubuntu0.1
graphicsmagick (Alpine package) - update to 1.3.35-r0
libgraphicsmagick-q16-3 (Ubuntu package) - addressed in versions Ubuntu Pro, 1.4+really1.3.35-1ubuntu0.1
libgraphicsmagick3 (Ubuntu package) - update to Ubuntu Pro
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
External References
Related Security Bulletins
- Denial of service in GraphicsMagick
- OpenSUSE Linux update for GraphicsMagick
- OpenSUSE Linux update for GraphicsMagick
- Ubuntu update for GraphicsMagick
- Improper input validation in graphicsmagick (Alpine package)
- Debian update for graphicsmagick
- Ubuntu update for graphicsmagick
- Fedora EPEL 8 update for GraphicsMagick
- Fedora EPEL 7 update for GraphicsMagick