Vulnerabilities · 2018 · Graphicsmagick
CVE-2018-20189
Graphicsmagick vulnerability
In GraphicsMagick 1.3.31, the ReadDIBImage function of coders/dib.c has a vulnerability allowing a crash and denial of service 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 products
Graphicsmagick, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Graphicsmagick runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- hg.graphicsmagick.org/hg/GraphicsMagick/rev/648e2b406589 · Patch
- www.securityfocus.com/bid/106227 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2018/12/msg00018.html · Third Party Advisory
- sourceforge.net/p/graphicsmagick/bugs/585/ · Exploit
- usn.ubuntu.com/4207-1/
- www.debian.org/security/2020/dsa-4640
- nvd.nist.gov/vuln/detail/CVE-2018-20189
- cve.org/CVERecord?id=CVE-2018-20189
More vulnerabilities in Graphicsmagick products
CVE-2025-32460CVE-2025-27796CVE-2025-27795CVE-2022-1270CVE-2020-21679CVE-2020-12672CVE-2020-10938CVE-2019-19953All 121
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.