CVE-2016-1904

NameCVE-2016-1904
DescriptionMultiple integer overflows in ext/standard/exec.c in PHP 7.x before 7.0.2 allow remote attackers to cause a denial of service or possibly have unspecified other impact via a long string to the (1) php_escape_shell_cmd or (2) php_escape_shell_arg function, leading to a heap-based buffer overflow.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5source(unstable)(not affected)
php5.6source(unstable)(not affected)
php7.0source(unstable)7.0.2-1

Notes

- php5 <not-affected> (Vulnerable code not present)
- php5.6 <not-affected> (Vulnerable code not present)
Already using safe_emalloc() in php_escape_shell_cmd()
https://bugs.php.net/bug.php?id=71270
https://github.com/php/php-src/commit/2871c70efaaaa0f102557a17c727fd4d5204dd4b

Search for package or bug name: Reporting problems