Skip to content
OpenAdvisories
Unscored Public exploit CVE-2018-10546 EUVD-2018-2618GHSA-2396-h4jp-vpjg

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 …

Published Apr 29, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 9 php7.0 7.0.30-0+deb9u1 DSA-4240-1
Debian 8 php5 5.6.36+dfsg-0+deb8u1 DLA-1397-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS php7.2 7.2.5-0ubuntu0.18.04.1 USN-3646-1
Ubuntu 16.04 LTS php7.0 7.0.30-0ubuntu0.16.04.1 USN-3646-1
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.25 USN-3646-1
ReleasePackageFixed inAdvisory
RHEL 3 rh-php71-php +27 7.1.30-1.el7 RHSA-2019:2519
ReleasePackageFixed inAdvisory
SLES 12 SP3 php5 5.5.14-109.27.2 SUSE-SU-2018:1291-1
SLES 12 SP3 php7 7.0.7-50.38.2 SUSE-SU-2018:1176-1
SLES 12 php5 5.5.14-109.27.2 SUSE-SU-2018:1291-1
SLES 12 php7 7.0.7-50.38.2 SUSE-SU-2018:1176-1
SLES 11 SP4 php53 5.3.17-112.23.1 SUSE-SU-2018:1294-1
SLES 11 SP3 php53 5.3.17-112.23.1 SUSE-SU-2018:1294-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 11 SP4 php53 5.3.17-112.23.1 SUSE-SU-2018:1294-1
SUSE Linux Enterprise Point of Sale 11 SP3 php53 5.3.17-112.23.1 SUSE-SU-2018:1294-1
ReleasePackageFixed inAdvisory
Alpine v3.15 php7 7.2.5-r0 —
Alpine v3.14 php7 7.2.5-r0 —
Alpine v3.13 php7 7.2.5-r0 —
Alpine v3.12 php7 7.2.5-r0 —
Alpine v3.11 php7 7.2.5-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.10 php7 7.2.5-r0 —
Alpine v3.9 php7 7.2.5-r0 —
Alpine v3.8 php7 7.2.5-r0 —
Alpine v3.7 php7 7.1.17-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 7

References