Vulnerabilities · 2018 · Graphicsmagick
CVE-2018-5685
Graphicsmagick vulnerability
In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value.
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/52a91ddb1aa6 · Patch
- lists.debian.org/debian-lts-announce/2018/01/msg00018.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2018/08/msg00002.html · Third Party Advisory
- sourceforge.net/p/graphicsmagick/bugs/541/ · Exploit
- www.debian.org/security/2018/dsa-4321 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-5685
- cve.org/CVERecord?id=CVE-2018-5685
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.