HOMEVULNERABILITIESCVE-2018-5685
MEDIUM

CVE-2018-5685

CWE-835Published: January 14, 2018· Updated: Jun 17, 2026

6.5
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2018-5685 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.

A successful exploit results in availability disruption (denial of service), with a CVSS base score of 6.5.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityNone
AvailabilityHigh
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected Vendors & Products

Debian1 product(s)
debian linux
graphicsmagick1 product(s)
graphicsmagick
Source: NVD CPE · 4 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (10)

Quick Facts

CVE IDCVE-2018-5685
CVSS Score6.5 / 10
SeverityMEDIUM
WeaknessCWE-835
CISA KEVNo
Affected2 vendor(s)
PublishedJan 14, 2018

Related CVEs (CWE-835)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2018-5685 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.