Skip to content
Fencer Intel
high 7.8

CVE-2017-11628 json

In PHP before 5.6.31, 7.x before 7.0.21, and 7.1.x before 7.1.7, a stack-based buffer overflow in the zend_ini_do_op() function in Zend/zen…

published 2017-07-25 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-3240

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

Summary

In PHP before 5.6.31, 7.x before 7.0.21, and 7.1.x before 7.1.7, a stack-based buffer overflow in the zend_ini_do_op() function in Zend/zend_ini_parser.c could cause a denial of service or potentially allow executing code. NOTE: this is only relevant for PHP applications that accept untrusted input (instead of the system's php.ini file) for the parse_ini_string or parse_ini_file function, e.g., a web application for syntax validation of php.ini directives.

Patch / fix

  • php5 Ubuntu 14.04 LTS 5.5.9+dfsg-1ubuntu4.22
  • php7.0 Ubuntu 16.04 LTS 7.0.22-0ubuntu0.16.04.1

ubuntu advisories UBUNTU-CVE-2017-11628

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-php70-php RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el6
  • rh-php70-php RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el7
  • rh-php70-php-gd RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el6
  • rh-php70-php-gd RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el7
  • rh-php70-php-cli RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el6
  • rh-php70-php-cli RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el7
  • rh-php70-php-dba RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el6
  • rh-php70-php-dba RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el7

red hat advisories RHSA-2018:1296

  • php53 SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 5.3.17-112.5.1
  • php5 SLE Software Development Kit 12 SP3, SLE Software Development Kit 12 SP2, SLE Module for Web and Scripting 12 5.5.14-109.5.1
  • php7 SLE Software Development Kit 12 SP3, SLE Software Development Kit 12 SP2, SLE Module for Web and Scripting 12 7.0.7-50.9.2

suse advisories SUSE-SU-2017:2522-1SUSE-SU-2017:2317-1SUSE-SU-2017:2303-1

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-2017-11628 updated cvss 4.0

php: Stack based 1-byte buffer over-write in zend_ini_do_op() function Zend/zend_ini_parser.c

  • 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 OpenShift Enterprise 2 php Red Hat Software Collections rh-php56-php, rh-php56-php-gd, rh-php56-php-cli, rh-php56-php-dba, rh-php56-php-dbg, rh-php56-php-fpm, +22 more
    affected: no fix planned “Will not fix”
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-php70-php 7.0.27-1.el6, rh-php70-php-gd 7.0.27-1.el6, rh-php70-php-cli 7.0.27-1.el6, rh-php70-php-dba 7.0.27-1.el6, rh-php70-php-dbg 7.0.27-1.el6, rh-php70-php-fpm 7.0.27-1.el6, +24 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php70-php 7.0.27-1.el7, rh-php70-php-gd 7.0.27-1.el7, rh-php70-php-cli 7.0.27-1.el7, rh-php70-php-dba 7.0.27-1.el7, rh-php70-php-dbg 7.0.27-1.el7, rh-php70-php-fpm 7.0.27-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-php70-php 7.0.27-1.el6, rh-php70-php-gd 7.0.27-1.el6, rh-php70-php-cli 7.0.27-1.el6, rh-php70-php-dba 7.0.27-1.el6, rh-php70-php-dbg 7.0.27-1.el6, rh-php70-php-fpm 7.0.27-1.el6, +24 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-php70-php 7.0.27-1.el7, rh-php70-php-gd 7.0.27-1.el7, rh-php70-php-cli 7.0.27-1.el7, rh-php70-php-dba 7.0.27-1.el7, rh-php70-php-dbg 7.0.27-1.el7, rh-php70-php-fpm 7.0.27-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-php70-php 7.0.27-1.el7, rh-php70-php-gd 7.0.27-1.el7, rh-php70-php-cli 7.0.27-1.el7, rh-php70-php-dba 7.0.27-1.el7, rh-php70-php-dbg 7.0.27-1.el7, rh-php70-php-fpm 7.0.27-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-php70-php 7.0.27-1.el7, rh-php70-php-gd 7.0.27-1.el7, rh-php70-php-cli 7.0.27-1.el7, rh-php70-php-dba 7.0.27-1.el7, rh-php70-php-dbg 7.0.27-1.el7, rh-php70-php-fpm 7.0.27-1.el7, +22 more
    +2 more products
    Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-php70-php 7.0.27-1.el6, rh-php70-php-gd 7.0.27-1.el6, rh-php70-php-cli 7.0.27-1.el6, rh-php70-php-dba 7.0.27-1.el6, rh-php70-php-dbg 7.0.27-1.el6, rh-php70-php-fpm 7.0.27-1.el6, +24 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php70-php 7.0.27-1.el7, rh-php70-php-gd 7.0.27-1.el7, rh-php70-php-cli 7.0.27-1.el7, rh-php70-php-dba 7.0.27-1.el7, rh-php70-php-dbg 7.0.27-1.el7, rh-php70-php-fpm 7.0.27-1.el7, +22 more
    fixed: vendor fix RHSA-2018:1296

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

3.36% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

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

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds

References

Sources

Fencer Intel 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.