CVE-2016-10712

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 57%
VendorProductVersion
phpphp
𝑥
≤ 5.5.31
phpphp
5.6.0 ≤
𝑥
≤ 5.6.17
phpphp
7.0.0 ≤
𝑥
≤ 7.0.2
canonicalubuntu_linux
14.04
canonicalubuntu_linux
16.04
canonicalubuntu_linux
17.10
𝑥
= Vulnerable software versions
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
php5
disco
dne
cosmic
dne
bionic
dne
artful
dne
xenial
dne
trusty
Fixed 5.5.9+dfsg-1ubuntu4.24
released
php7.0
disco
dne
cosmic
dne
bionic
dne
artful
dne
xenial
not-affected
trusty
dne
php7.1
disco
dne
cosmic
dne
bionic
dne
artful
not-affected
xenial
dne
trusty
dne