CVE Vulnerabilities

CVE-2018-5685

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Jan 14, 2018 | Modified: Oct 03, 2019
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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.

Weakness

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

Affected Software

Name Vendor Start Version End Version
Graphicsmagick Graphicsmagick 1.3.27 (including) 1.3.27 (including)
Graphicsmagick Ubuntu artful *
Graphicsmagick Ubuntu esm-apps/xenial *
Graphicsmagick Ubuntu trusty *
Graphicsmagick Ubuntu trusty/esm *
Graphicsmagick Ubuntu upstream *
Graphicsmagick Ubuntu xenial *

References