CVE-2016-5114

Publication date 30 May 2016

Last updated 25 August 2025


Ubuntu priority

Cvss 3 Severity Score

9.1 · Critical

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
php5 16.04 LTS xenial Not in release
15.10 wily Ignored end of life
14.04 LTS trusty
Fixed 5.5.9+dfsg-1ubuntu4.19
12.04 LTS precise
Fixed 5.3.10-1ubuntu3.24
php7.0 16.04 LTS xenial
Not affected
15.10 wily Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Not in release

Notes


tyhicks

"The fixed versions of PHP are: 5.5.31, 5.6.17 and 7.0.2"

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
php5
php7.0

Severity score breakdown

CVSS version: CVSS v3.0

Base score 9.1 · Critical

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H


Access our resources on patching vulnerabilities