Critical severity9.1NVD Advisory· Published Aug 7, 2016· Updated Jun 17, 2026
CVE-2016-5114
CVE-2016-5114
Description
sapi/fpm/fpm/fpm_log.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 misinterprets the semantics of the snprintf return value, which allows attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and buffer overflow) via a long string, as demonstrated by a long URI in a configuration with custom REQUEST_URI logging.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
38cpe:2.3:a:php:php:*:*:*:*:*:*:*:*+ 28 more
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*range: <=5.5.30
- cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.0:beta4:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.10:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.11:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.12:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.13:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.14:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.15:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.16:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.6.9:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*
- (no CPE)range: <5.5.31 || (>=5.6.0 <5.6.17) || (>=7.0.0 <7.0.2)
- osv-coords9 versionspkg:rpm/suse/php53&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP2-LTSSpkg:rpm/suse/php53&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-LTSSpkg:rpm/suse/php53&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-TERADATApkg:rpm/suse/php53&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/php53&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/php53&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4pkg:rpm/suse/php53&distro=SUSE%20Manager%202.1pkg:rpm/suse/php53&distro=SUSE%20Manager%20Proxy%202.1pkg:rpm/suse/php53&distro=SUSE%20OpenStack%20Cloud%205
< 5.3.17-47.1+ 8 more
- (no CPE)range: < 5.3.17-47.1
- (no CPE)range: < 5.3.17-71.1
- (no CPE)range: < 5.3.17-71.1
- (no CPE)range: < 5.3.17-71.1
- (no CPE)range: < 5.3.17-71.1
- (no CPE)range: < 5.3.17-71.1
- (no CPE)range: < 5.3.17-71.1
- (no CPE)range: < 5.3.17-71.1
- (no CPE)range: < 5.3.17-71.1
Patches
Vulnerability mechanics
References
8- php.net/ChangeLog-5.phpnvdPatchRelease Notes
- php.net/ChangeLog-7.phpnvdPatchRelease Notes
- www.search-lab.hu/about-us/news/111-some-unusual-vulnerabilities-in-the-php-enginenvdPatchThird Party Advisory
- bugs.php.net/bug.phpnvdExploit
- www.openwall.com/lists/oss-security/2016/05/29/1nvdRelease Notes
- github.com/php/php-src/commit/2721a0148649e07ed74468f097a28899741eb58fnvd
- rhn.redhat.com/errata/RHSA-2016-2750.htmlnvd
- h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplaynvd
News mentions
0No linked articles in our index yet.