Integer overflow in PHP
CVE-2016-5769
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.084, 95.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.6.0, 5.6.1, 5.6.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (syadg123/pigat, teamssix/pigat). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- APPLE-SA-2016-09-20 (vendor-advisory)
- openSUSE-SU-2016:1761 (vendor-advisory)
- openSUSE-SU-2016:1922 (vendor-advisory)
- github.com/php/php-src/commit/6c5211a0cef0cc2854eaa387e0eb036e012904d0
- php.net/ChangeLog-5.php (Patch, Release Notes)
- [oss-security] 20160623 Re: CVE for PHP 5.5.37 issues (mailing-list, Release Notes)
- DSA-3618 (vendor-advisory)
- php.net/ChangeLog-7.php (Broken Link)
- bugs.php.net/bug.php (Vendor Advisory)
- www.securityfocus.com/bid/91399 (vdb-entry)