ext/session/session.c in PHP before 5.6.25 and 7.x before 7.0.10 skips invalid session names in a way that triggers incorrect parsing, which allows remote attackers to inject arbitrary-type session data by leveraging control of a session name, as demonstrated by object injection.
https://www.tenable.com/security/tns-2016-19
https://security.gentoo.org/glsa/201611-22
https://github.com/php/php-src/commit/8763c6090d627d8bb0ee1d030c30e58f406be9ce?w=1
http://www.securitytracker.com/id/1036680
http://www.securityfocus.com/bid/92552
http://www.php.net/ChangeLog-7.php
http://www.php.net/ChangeLog-5.php