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
02 Description
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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 9.84% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 95.1% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2017-04-21 20:00Z9 YR AGO
- Last updated
- 2024-08-06 01:01Z2 YR AGO
- Reserved
- 2016-06-10
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 2cc2c5d6000cf873d70874628abe38400668104cc5dbe2588b9e00b3fee1d06f
05 Affected products
06 References
- www.securityfocus.com92051http://www.securityfocus.com/bid/92051
- packetstormsecurity.comhttp://packetstormsecurity.com/files/137998/PHP-7.0.8-5.6.23-5.5.37-bzread-OOB-Write.html
- seclists.org20160725 CVE-2016-5399: php: out-of-bounds write in bzread()http://seclists.org/fulldisclosure/2016/Jul/72
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=1358395
- www.openwall.com[oss-security] 20160721 CVE-2016-5399: php: out-of-bounds write in bzread()http://www.openwall.com/lists/oss-security/2016/07/21/1
- www.securityfocus.com20160721 CVE-2016-5399: php: out-of-bounds write in bzread()http://www.securityfocus.com/archive/1/538966/100/0/threaded
- bugs.php.nethttps://bugs.php.net/bug.php?id=72613
- rhn.redhat.comRHSA-2016:2750http://rhn.redhat.com/errata/RHSA-2016-2750.html
- rhn.redhat.comRHSA-2016:2598http://rhn.redhat.com/errata/RHSA-2016-2598.html
- php.nethttp://php.net/ChangeLog-5.php
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20180112-0001/
- www.securitytracker.com1036430http://www.securitytracker.com/id/1036430
- www.debian.orgDSA-3631http://www.debian.org/security/2016/dsa-3631
- php.nethttp://php.net/ChangeLog-7.php
- www.exploit-db.com40155https://www.exploit-db.com/exploits/40155/
07 Fixed in
Ubuntu 14.04 LTS
- php5 Fixed in 5.5.9+dfsg-1ubuntu4.19
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- php7.0 Fixed in 7.0.8-0ubuntu0.16.04.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.