Back
CVE-2018-5685
In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers…
Medium6.5EPSS 1.9%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.9% · top 20% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
Affected products
n/a
- affected n/a
References (5)
- https://sourceforge.net/p/graphicsmagick/bugs/541/ (opens in a new tab)x_refsource_MISCx_transferred
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/52a91ddb1aa6 (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20180116 [SECURITY] [DLA 1245-1] graphicsmagick security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- DSA-4321 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- [debian-lts-announce] 20180803 [SECURITY] [DLA 1456-1] graphicsmagick security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-5685)Record last updated .