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 streamgetmetadata can be controlled if the input can be controlled (e.g., during file uploads). For example, a "$uri = streamgetmetadata(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.
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "php5-gd": "5.5.9+dfsg-1ubuntu4.24", "libphp5-embed": "5.5.9+dfsg-1ubuntu4.24", "php5-gmp-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-mysqlnd": "5.5.9+dfsg-1ubuntu4.24", "php5-cli": "5.5.9+dfsg-1ubuntu4.24", "php5-common-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-fpm": "5.5.9+dfsg-1ubuntu4.24", "php5-pspell": "5.5.9+dfsg-1ubuntu4.24", "php5-mysql": "5.5.9+dfsg-1ubuntu4.24", "php5-ldap": "5.5.9+dfsg-1ubuntu4.24", "php5-pgsql": "5.5.9+dfsg-1ubuntu4.24", "php5-readline": "5.5.9+dfsg-1ubuntu4.24", "php5-common": "5.5.9+dfsg-1ubuntu4.24", "php5-dev": "5.5.9+dfsg-1ubuntu4.24", "php5-readline-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "libapache2-mod-php5filter": "5.5.9+dfsg-1ubuntu4.24", "php5": "5.5.9+dfsg-1ubuntu4.24", "php5-sybase": "5.5.9+dfsg-1ubuntu4.24", "php5-gmp": "5.5.9+dfsg-1ubuntu4.24", "php5-tidy-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-cgi": "5.5.9+dfsg-1ubuntu4.24", "php5-curl-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-pspell-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-intl-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "libapache2-mod-php5-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-recode": "5.5.9+dfsg-1ubuntu4.24", "php5-ldap-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-enchant-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-odbc-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-pgsql-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-gd-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-snmp-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-fpm-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-tidy": "5.5.9+dfsg-1ubuntu4.24", "libapache2-mod-php5filter-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-dbg": "5.5.9+dfsg-1ubuntu4.24", "php-pear": "5.5.9+dfsg-1ubuntu4.24", "libphp5-embed-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-xmlrpc-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-sybase-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-curl": "5.5.9+dfsg-1ubuntu4.24", "php5-cli-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-xsl": "5.5.9+dfsg-1ubuntu4.24", "php5-enchant": "5.5.9+dfsg-1ubuntu4.24", "php5-dev-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-odbc": "5.5.9+dfsg-1ubuntu4.24", "php5-recode-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-mysql-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-mysqlnd-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-sqlite-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "libapache2-mod-php5": "5.5.9+dfsg-1ubuntu4.24", "php5-snmp": "5.5.9+dfsg-1ubuntu4.24", "php5-xsl-dbgsym": "5.5.9+dfsg-1ubuntu4.24", "php5-intl": "5.5.9+dfsg-1ubuntu4.24", "php5-sqlite": "5.5.9+dfsg-1ubuntu4.24", "php5-xmlrpc": "5.5.9+dfsg-1ubuntu4.24", "php5-cgi-dbgsym": "5.5.9+dfsg-1ubuntu4.24" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "php7.0-mcrypt-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-enchant": "7.0.25-0ubuntu0.16.04.1", "php7.0-xsl": "7.0.25-0ubuntu0.16.04.1", "php7.0-intl": "7.0.25-0ubuntu0.16.04.1", "php7.0-mysql": "7.0.25-0ubuntu0.16.04.1", "php7.0-dba": "7.0.25-0ubuntu0.16.04.1", "php7.0-pgsql-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-zip": "7.0.25-0ubuntu0.16.04.1", "php7.0-soap": "7.0.25-0ubuntu0.16.04.1", "php7.0-readline": "7.0.25-0ubuntu0.16.04.1", "php7.0-mcrypt": "7.0.25-0ubuntu0.16.04.1", "php7.0-gd": "7.0.25-0ubuntu0.16.04.1", "libphp7.0-embed": "7.0.25-0ubuntu0.16.04.1", "php7.0-interbase": "7.0.25-0ubuntu0.16.04.1", "php7.0": "7.0.25-0ubuntu0.16.04.1", "php7.0-imap": "7.0.25-0ubuntu0.16.04.1", "php7.0-xmlrpc-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-ldap-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-opcache": "7.0.25-0ubuntu0.16.04.1", "php7.0-bz2-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-opcache-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-json": "7.0.25-0ubuntu0.16.04.1", "php7.0-fpm": "7.0.25-0ubuntu0.16.04.1", "libapache2-mod-php7.0-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-xml": "7.0.25-0ubuntu0.16.04.1", "php7.0-tidy": "7.0.25-0ubuntu0.16.04.1", "php7.0-dba-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-common-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-sqlite3": "7.0.25-0ubuntu0.16.04.1", "php7.0-bcmath-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-bcmath": "7.0.25-0ubuntu0.16.04.1", "php7.0-common": "7.0.25-0ubuntu0.16.04.1", "php7.0-mysql-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-odbc-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-gmp-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-cgi": "7.0.25-0ubuntu0.16.04.1", "php7.0-phpdbg-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-json-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-readline-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-pspell": "7.0.25-0ubuntu0.16.04.1", "php7.0-mbstring-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-tidy-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-cli-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-curl-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-cgi-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-enchant-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-odbc": "7.0.25-0ubuntu0.16.04.1", "php7.0-soap-dbgsym": "7.0.25-0ubuntu0.16.04.1", "libphp7.0-embed-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-interbase-dbgsym": "7.0.25-0ubuntu0.16.04.1", "libapache2-mod-php7.0": "7.0.25-0ubuntu0.16.04.1", "php7.0-recode": "7.0.25-0ubuntu0.16.04.1", "php7.0-fpm-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-pspell-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-imap-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-gmp": "7.0.25-0ubuntu0.16.04.1", "php7.0-recode-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-sybase-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-ldap": "7.0.25-0ubuntu0.16.04.1", "php7.0-snmp": "7.0.25-0ubuntu0.16.04.1", "php7.0-intl-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-pgsql": "7.0.25-0ubuntu0.16.04.1", "php7.0-sqlite3-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-curl": "7.0.25-0ubuntu0.16.04.1", "php7.0-xmlrpc": "7.0.25-0ubuntu0.16.04.1", "php7.0-dev": "7.0.25-0ubuntu0.16.04.1", "php7.0-snmp-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-bz2": "7.0.25-0ubuntu0.16.04.1", "php7.0-zip-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-cli": "7.0.25-0ubuntu0.16.04.1", "php7.0-xml-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-mbstring": "7.0.25-0ubuntu0.16.04.1", "php7.0-sybase": "7.0.25-0ubuntu0.16.04.1", "php7.0-gd-dbgsym": "7.0.25-0ubuntu0.16.04.1", "php7.0-phpdbg": "7.0.25-0ubuntu0.16.04.1" } ] }