Multiple 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) phpescapeshellcmd or (2) phpescapeshellarg function, leading to a heap-based buffer overflow.