Multiple integer overflows in mcrypt.c in the mcrypt extension in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8 allow remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted length value, related to the (1) mcrypt_generic and (2) mdecrypt_generic functions.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html | vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html | vendor advisory |
http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html | vendor advisory |
http://github.com/php/php-src/commit/6c5211a0cef0cc2854eaa387e0eb036e012904d0?w=1 | |
http://php.net/ChangeLog-5.php | patch release notes |
http://www.openwall.com/lists/oss-security/2016/06/23/4 | release notes mailing list |
http://www.debian.org/security/2016/dsa-3618 | vendor advisory |
http://php.net/ChangeLog-7.php | broken link |
https://bugs.php.net/bug.php?id=72455 | vendor advisory |
http://www.securityfocus.com/bid/91399 | vdb entry |
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731 | |
https://support.apple.com/HT207170 | |
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html | vendor advisory |