CVE-2018-5685Graphicsmagick
Medium 6.5 No auth needed
Follow: this CVE · Graphicsmagick · Graphicsmagick We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.0
- 6.5
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 81
- Auth required
- No
- Published
- Jan 14, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Graphicsmagick.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| graphicsmagick | graphicsmagick | 1.3.27 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- hg.graphicsmagick.org Patch
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- sourceforge.net Exploit Issue Tracking Third Party Advisory
- www.debian.org Third Party Advisory