1. CVE archive
  2. 2018
  3. CVE-2018-5685

CVE-2018-5685

6.5 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H 6.5 – Medium

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

VendorProductVersionPlatform
debian debian linux 7.0 –
debian debian linux 8.0 –
debian debian linux 9.0 –
graphicsmagick graphicsmagick 1.3.27 –
All 123 Graphicsmagick vulnerabilities

Vulnerability type

CWE-835 Loop with Unreachable Exit Condition

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Impact on systems

ScopeImpact
Availability DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Amplification
An infinite loop will cause unexpected consumption of resources, such as CPU cycles or memory. The software's operation may slow down, or cause a long time to respond.

All 992 CWE-835 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org