CVE Vulnerabilities

CVE-2018-9251

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Apr 04, 2018 | Modified: Oct 03, 2019
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
2.6 LOW
AV:N/AC:H/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
3.5 LOW
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM

The xz_decomp function in xzlib.c in libxml2 2.9.8, if –with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a crafted XML file that triggers LZMA_MEMLIMIT_ERROR, as demonstrated by xmllint, a different vulnerability than CVE-2015-8035.

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
Libxml2 Xmlsoft 2.9.8 (including) 2.9.8 (including)
Red Hat Enterprise Linux 8 RedHat libxml2-0:2.9.7-7.el8 *
Red Hat Enterprise Linux 8 RedHat libxml2-0:2.9.7-7.el8 *
Libxml2 Ubuntu upstream *

References