CVE-2016-4537
CRITICAL
9.8
CVSS 3.0
Description
The bcpowmod function in ext/bcmath/bcmath.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 accepts a negative integer for the scale argument, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via a crafted call.
Affected products and versions
- PHP — Up to and including 5.5.34
- PHP versions 5.6.0, 5.6.1, 5.6.2, 5.6.3, 5.6.4, 5.6.5, 5.6.6, 5.6.7, 5.6.8, 5.6.9, 5.6.10, 5.6.11, 5.6.12, 5.6.13, 5.6.14, 5.6.15, 5.6.16, 5.6.17, 5.6.18, 5.6.19, 5.6.20, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5
References
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2016-May/183736.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2016-05/msg00086.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2016-06/msg00027.html
- php.net http://php.net/ChangeLog-5.php Patch
- php.net http://php.net/ChangeLog-7.php Patch
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-2750.html
- www.debian.org http://www.debian.org/security/2016/dsa-3602
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/05/05/21
- www.securityfocus.com http://www.securityfocus.com/bid/90173
- bugs.php.net https://bugs.php.net/bug.php?id=72093 Exploit
- git.php.net https://git.php.net/?p=php-src.git%3Ba=commit%3Bh=d650063a0457aec56364e4005a636dc6c401f9cd
- h20566.www2.hpe.com https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731
- h20566.www2.hpe.com https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149
- h20566.www2.hpe.com https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722
- security.gentoo.org https://security.gentoo.org/glsa/201611-22
- nvd.nist.gov Official NVD record