CVE-2016-5114 Information disclosure in n/a

Critical 9.1 Published Updated

Attackers can read sensitive memory or crash the service via long URIs in PHP FPM when custom request logging is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-5114?

CVE-2016-5114 is a critical vulnerability in Php Php, published on 7 Aug 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-125, CWE-119

Which versions are affected by CVE-2016-5114?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2016-5114?

Upgrade to a fixed version.

Is CVE-2016-5114 being exploited?

There is no known exploitation of CVE-2016-5114 in the wild and no public exploit code.

All Php Php vulnerabilities

Sources

Also known as GHSA-2784-39w4-9568, UBUNTU-CVE-2016-5114.

Is CVE-2016-5114 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free