What’s Vulnerable › Vulnerabilities
CVE-2018-5685
- Severity: medium (CVSS 6.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-01-14 · updated 2026-06-17
- Weakness: CWE-835
Description
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
- Debian Linux: 7.0, 8.0, 9.0
- GraphicsMagick: 1.3.27
References
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/52a91ddb1aa6
- https://lists.debian.org/debian-lts-announce/2018/01/msg00018.html
- https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html
- https://sourceforge.net/p/graphicsmagick/bugs/541/
- https://www.debian.org/security/2018/dsa-4321
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/52a91ddb1aa6
- https://lists.debian.org/debian-lts-announce/2018/01/msg00018.html
- https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html
- https://sourceforge.net/p/graphicsmagick/bugs/541/
- https://www.debian.org/security/2018/dsa-4321
Get alerted when CVE-2018-5685 or the next vulnerability affects your stack