ext/session/session.c in PHP before 5.5.38, 5.6.x before 5.6.24, and 7.x before 7.0.9 does not properly maintain a certain hash data structure, which allows remote attackers to cause a denial of service (use-after-free) or possibly have unspecified other impact via vectors related to session deserialization.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://bugs.php.net/72562 | issue tracking |
http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html | vendor advisory |
https://security.gentoo.org/glsa/201611-22 | vendor advisory |
http://rhn.redhat.com/errata/RHSA-2016-2750.html | vendor advisory |
http://php.net/ChangeLog-5.php | release notes |
http://www.securitytracker.com/id/1036430 | vdb entry |
http://www.debian.org/security/2016/dsa-3631 | vendor advisory |
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=3798eb6fd5dddb211b01d41495072fd9858d4e32 | |
http://php.net/ChangeLog-7.php | |
http://openwall.com/lists/oss-security/2016/07/24/2 | mailing list release notes |
https://support.apple.com/HT207170 | |
http://www.securityfocus.com/bid/92097 | vdb entry third party advisory |