ext/snmp/snmp.c in PHP before 5.5.38, 5.6.x before 5.6.24, and 7.x before 7.0.9 improperly interacts with the unserialize implementation and garbage collection, which allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact via crafted serialized data, a related issue to CVE-2016-5773.
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/72479 | issue tracking patch exploit third party advisory |
http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html | vendor advisory |
https://security.gentoo.org/glsa/201611-22 | vendor advisory |
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=cab1c3b3708eead315e033359d07049b23b147a3 | |
http://rhn.redhat.com/errata/RHSA-2016-2750.html | vendor advisory |
http://php.net/ChangeLog-5.php | release notes |
http://www.securityfocus.com/bid/92094 | vdb entry third party advisory |
http://www.securitytracker.com/id/1036430 | vdb entry |
http://www.debian.org/security/2016/dsa-3631 | vendor advisory |
http://php.net/ChangeLog-7.php | release notes |
http://openwall.com/lists/oss-security/2016/07/24/2 | mailing list patch |
https://support.apple.com/HT207170 |