CVE-2016-10712 Other in n/a

High 7.5 Published Updated

Attackers can control stream metadata via crafted input, potentially leading to unexpected behavior in applications relying on stream_get_meta_data.

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-10712?

CVE-2016-10712 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 9 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In PHP before 5.5.32, 5.6.x before 5.6.18, and 7.x before 7.0.3, all of the return values of stream_get_meta_data can be controlled if the input can be controlled (e.g., during file uploads). For example, a "$uri = stream_get_meta_data(fopen($file, "r"))['uri']" call mishandles the case where $file is data:text/plain;uri=eviluri, -- in other words, metadata can be set by an attacker.

Weakness: CWE-20

Which versions are affected by CVE-2016-10712?

It affects 2 products.

Linux distribution packages (3)
php5 SUSE:Linux Enterprise Module for Web and Scripting 12All versions5.5.14-109.20.1
php5 SUSE:Linux Enterprise Software Development Kit 12 SP2All versions5.5.14-109.20.1
php5 SUSE:Linux Enterprise Software Development Kit 12 SP3All versions5.5.14-109.20.1

Products include Canonical Ubuntu Linux, Php Php.

How do I fix CVE-2016-10712?

Upgrade to a fixed version.

Is CVE-2016-10712 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-5jr3-87vw-j587, SUSE-SU-2018:0530-1, UBUNTU-CVE-2016-10712.

Is CVE-2016-10712 in your software?

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

Check your SBOMs for free