Back
CVE-2016-5114
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…
Critical9.1EPSS 4.5%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 4.5% · top 8.5% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.
Weakness
Affected products
n/a
- affected n/a
References (8)
- https://bugs.php.net/bug.php?id=70755 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2016:2750 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20160528 Re: Fwd: PHP-FPM fpm_log.c memory leak and buffer overflow (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://php.net/ChangeLog-7.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://github.com/php/php-src/commit/2721a0148649e07ed74468f097a28899741eb58f?w=1 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.search-lab.hu/about-us/news/111-some-unusual-vulnerabilities-in-the-php-engine (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .