CVE Vulnerabilities

CVE-2017-18271

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: May 18, 2018 | Modified: Nov 21, 2024
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
7.1 HIGH
AV:N/AC:M/Au:N/C:N/I:N/A:C
RedHat/V2
RedHat/V3
3.3 LOW
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-22, an infinite loop vulnerability was found in the function ReadMIFFImage in coders/miff.c, which allows attackers to cause a denial of service (CPU exhaustion) via a crafted MIFF image file.

Weakness

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

Affected Software

NameVendorStart VersionEnd Version
ImagemagickImagemagick7.0.7-16 (including)7.0.7-16 (including)
Red Hat Enterprise Linux 7RedHatautotrace-0:0.31.1-38.el7*
Red Hat Enterprise Linux 7RedHatemacs-1:24.3-23.el7*
Red Hat Enterprise Linux 7RedHatImageMagick-0:6.9.10.68-3.el7*
Red Hat Enterprise Linux 7RedHatinkscape-0:0.92.2-3.el7*
ImagemagickUbuntuartful*
ImagemagickUbuntubionic*
ImagemagickUbuntudevel*
ImagemagickUbuntuesm-infra-legacy/trusty*
ImagemagickUbuntuesm-infra/bionic*
ImagemagickUbuntuesm-infra/xenial*
ImagemagickUbuntutrusty*
ImagemagickUbuntutrusty/esm*
ImagemagickUbuntuupstream*
ImagemagickUbuntuxenial*

References