Skip to content
Fencer Vulns
high 7.5

CVE-2018-10546 json

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.

published 2018-04-29 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-2618

cvss
7.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
9.8%
EPSS 9.8% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

Summary

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.

Patch / fix

  • php php 5.6.36, 7.0.30, 7.1.17, 7.2.5
  • php5 Ubuntu 14.04 LTS 5.5.9+dfsg-1ubuntu4.25
  • php7.0 Ubuntu 16.04 LTS 7.0.30-0ubuntu0.16.04.1
  • php7.2 Ubuntu 18.04 LTS 7.2.5-0ubuntu0.18.04.1

ubuntu advisories UBUNTU-CVE-2018-10546

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rh-php71-php RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
  • rh-php71-php-gd RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
  • rh-php71-php-cli RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
  • rh-php71-php-dba RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
  • rh-php71-php-dbg RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
  • rh-php71-php-fpm RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
  • rh-php71-php-gmp RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
  • rh-php71-php-pdo RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7

red hat advisories RHSA-2019:2519

  • php53 SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +3 more 5.3.17-112.23.1
  • php5 SLE Software Development Kit 12 SP3, SLE Module for Web and Scripting 12 5.5.14-109.27.2
  • php7 SLE Software Development Kit 12 SP3, SLE Module for Web and Scripting 12 7.0.7-50.38.2

suse advisories SUSE-SU-2018:1294-1SUSE-SU-2018:1291-1SUSE-SU-2018:1176-1

  • php7 Alpine 3.15, Alpine 3.14, Alpine 3.13 +5 more 7.2.5-r0
  • php7 Alpine 3.7 7.1.17-r0

alpine advisories ALPINE-CVE-2018-10546

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-10546 updated cvss 7.5

php: Infinite loop in ext/iconv/iconv.c when using stream filter with convert.incov on invalid sequence leads to denial-of-service

  • Red Hat Enterprise Linux 5 php, php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more Red Hat Software Collections rh-php70-php, rh-php70-php-gd, rh-php70-php-cli, rh-php70-php-dba, rh-php70-php-dbg, rh-php70-php-fpm, +24 more
    affected: no fix planned “Will not fix”
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more
    fixed: vendor fix RHSA-2019:2519
  • Red Hat Enterprise Linux 8 php, libzip, php-gd, php-cli, php-dba, php-dbg, +30 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

9.78% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-835 Loop with Unreachable Exit Condition
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.