Buffer overflow in PHP
CVE-2016-5399
The bzread function in ext/bz2/bz2.c in PHP before 5.5.38, 5.6.x before 5.6.24, and 7.x before 7.0.9 allows remote attackers to cause a denial of service (out-of-bounds write) or execute arbitrary code via a crafted bz2 archive.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.098, 95.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
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
- www.securityfocus.com/bid/92051 (Third Party Advisory, VDB Entry, vdb-entry)
- packetstormsecurity.com/files/137998/PHP-7.0.8-5.6.23-5.5.37-bzread-OOB-Write.h… (Exploit, VDB Entry, Third Party Advisory)
- 20160725 CVE-2016-5399: php: out-of-bounds write in bzread() (mailing-list, Exploit, Mailing List, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (VDB Entry, Third Party Advisory, Issue Tracking)
- [oss-security] 20160721 CVE-2016-5399: php: out-of-bounds write in bzread() (mailing-list, Exploit, Mailing List, Third Party Advisory)
- 20160721 CVE-2016-5399: php: out-of-bounds write in bzread() (mailing-list, Third Party Advisory, VDB Entry)
- bugs.php.net/bug.php (Exploit, Vendor Advisory)
- RHSA-2016:2750 (vendor-advisory, Third Party Advisory)
- RHSA-2016:2598 (vendor-advisory, Third Party Advisory)
- php.net/ChangeLog-5.php (Release Notes, Vendor Advisory)