First published: Thu Jul 06 2017(Updated: )
A stack buffer overflow exists in the latest stable release of PHP-7.1.5 and PHP-5.6.30 in PHP INI parsing API, which may accept network / local filesystem input. On malformed inputs, a stack buffer overflow in zend_ini_do_op() could write 1-byte off a fixed size stack buffer. On installations with the stack smashing mitigation, this would cause an immediate DoS; upto optimization levels, build options and stack buffer overflow mitigations, this vulnerability may allow corrupting other local variables or the frame pointer, potentially allows remotely executing code. Upstream bug: <a href="https://bugs.php.net/bug.php?id=74603">https://bugs.php.net/bug.php?id=74603</a> Upstream patch: <a href="http://git.php.net/?p=php-src.git;a=commit;h=5f8380d33e648964d2d5140f329cf2d4c443033c">http://git.php.net/?p=php-src.git;a=commit;h=5f8380d33e648964d2d5140f329cf2d4c443033c</a> <a href="http://git.php.net/?p=php-src.git;a=commit;h=05255749139b3686c8a6a58ee01131ac0047465e">http://git.php.net/?p=php-src.git;a=commit;h=05255749139b3686c8a6a58ee01131ac0047465e</a> <a href="http://git.php.net/?p=php-src.git;a=commit;h=88c521d659521f695e0b9e7fcdded0fc1ee1c53b">http://git.php.net/?p=php-src.git;a=commit;h=88c521d659521f695e0b9e7fcdded0fc1ee1c53b</a>
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP PHP | <=5.6.30 | |
PHP PHP | =7.0.0 | |
PHP PHP | =7.0.1 | |
PHP PHP | =7.0.2 | |
PHP PHP | =7.0.3 | |
PHP PHP | =7.0.4 | |
PHP PHP | =7.0.5 | |
PHP PHP | =7.0.6 | |
PHP PHP | =7.0.7 | |
PHP PHP | =7.0.8 | |
PHP PHP | =7.0.9 | |
PHP PHP | =7.0.10 | |
PHP PHP | =7.0.11 | |
PHP PHP | =7.0.12 | |
PHP PHP | =7.0.13 | |
PHP PHP | =7.0.14 | |
PHP PHP | =7.0.15 | |
PHP PHP | =7.0.16 | |
PHP PHP | =7.0.17 | |
PHP PHP | =7.0.18 | |
PHP PHP | =7.0.19 | |
PHP PHP | =7.0.20 | |
PHP PHP | =7.1.0 | |
PHP PHP | =7.1.1 | |
PHP PHP | =7.1.2 | |
PHP PHP | =7.1.3 | |
PHP PHP | =7.1.4 | |
PHP PHP | =7.1.5 | |
PHP PHP | =7.1.6 | |
PHP PHP | <7.0.21 | 7.0.21 |
debian/php5 | ||
debian/php7.0 | ||
debian/php7.1 | ||
redhat/php | <7.0.21 | 7.0.21 |
redhat/php | <7.1.7 | 7.1.7 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-11628 is a vulnerability in PHP that allows for a stack-based buffer overflow, potentially leading to a denial of service or code execution.
PHP versions before 5.6.31, 7.x before 7.0.21, and 7.1.x before 7.1.7 are affected by CVE-2017-11628.
CVE-2017-11628 has a severity rating of 7.8, which is considered high.
To fix CVE-2017-11628, you should update PHP to version 7.0.21 or 7.1.7, depending on the version you are using.
You can find more information about CVE-2017-11628 at the following references: [1] [2] [3].