CVE Vulnerabilities

CVE-2018-10546

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Apr 29, 2018 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

An issue was discovered in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. An infinite loop exists in ext/iconv/iconv.c because the iconv stream filter does not reject invalid multibyte sequences.

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
PhpPhp*5.6.36 (excluding)
PhpPhp7.0.0 (including)7.0.30 (excluding)
PhpPhp7.1.0 (including)7.1.17 (excluding)
PhpPhp7.2.0 (including)7.2.5 (excluding)
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-php71-php-0:7.1.30-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSRedHatrh-php71-php-0:7.1.30-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHatrh-php71-php-0:7.1.30-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-php71-php-0:7.1.30-1.el7*
Php5Ubuntuesm-infra-legacy/trusty*
Php5Ubuntutrusty*
Php5Ubuntutrusty/esm*
Php5Ubuntuupstream*
Php7.0Ubuntuesm-infra/xenial*
Php7.0Ubuntuupstream*
Php7.0Ubuntuxenial*
Php7.1Ubuntuartful*
Php7.1Ubuntuupstream*
Php7.2Ubuntubionic*
Php7.2Ubuntudevel*
Php7.2Ubuntuesm-infra/bionic*
Php7.2Ubuntuupstream*

References