CVE-2016-5399
Last modified
CVE-2016-5399 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 9.84% chance of exploitation in the next 30 days.
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 code via a crafted bz2 archive.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | <= 5.5.37 |
| Php | Php | >= 5.6.0, < 5.6.24 |
| Php | Php | >= 7.0.0, < 7.0.9 |
References
- http://packetstormsecurity.com/files/137998/PHP-7.0.8-5.6.23-5.5.37-bzread-OOB-Write.htmlExploit, Third Party Advisory, VDB Entry
- http://php.net/ChangeLog-5.phpRelease Notes, Vendor Advisory
- http://php.net/ChangeLog-7.phpRelease Notes, Vendor Advisory
- http://rhn.redhat.com/errata/RHSA-2016-2598.htmlThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-2750.htmlThird Party Advisory
- http://seclists.org/fulldisclosure/2016/Jul/72Exploit, Mailing List, Third Party Advisory
- http://www.debian.org/security/2016/dsa-3631Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/07/21/1Exploit, Mailing List, Third Party Advisory
- http://www.securityfocus.com/archive/1/538966/100/0/threadedThird Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/92051Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1036430Third Party Advisory, VDB Entry
- https://bugs.php.net/bug.php?id=72613Exploit, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1358395Issue Tracking, Third Party Advisory, VDB Entry
- https://security.netapp.com/advisory/ntap-20180112-0001/Third Party Advisory
- https://www.exploit-db.com/exploits/40155/Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/137998/PHP-7.0.8-5.6.23-5.5.37-bzread-OOB-Write.htmlExploit, Third Party Advisory, VDB Entry
- http://php.net/ChangeLog-5.phpRelease Notes, Vendor Advisory
- http://php.net/ChangeLog-7.phpRelease Notes, Vendor Advisory
- http://rhn.redhat.com/errata/RHSA-2016-2598.htmlThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-2750.htmlThird Party Advisory
- http://seclists.org/fulldisclosure/2016/Jul/72Exploit, Mailing List, Third Party Advisory
- http://www.debian.org/security/2016/dsa-3631Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/07/21/1Exploit, Mailing List, Third Party Advisory
- http://www.securityfocus.com/archive/1/538966/100/0/threadedThird Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/92051Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1036430Third Party Advisory, VDB Entry
- https://bugs.php.net/bug.php?id=72613Exploit, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1358395Issue Tracking, Third Party Advisory, VDB Entry
- https://security.netapp.com/advisory/ntap-20180112-0001/Third Party Advisory
- https://www.exploit-db.com/exploits/40155/Exploit, Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2016-5399?
How severe is CVE-2016-5399?
How do I fix CVE-2016-5399?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2016
- CVE-2016-5393In Apache Hadoop 2.6.x before 2.6.5 and 2.7.x before 2.7.3, …
- CVE-2016-5394In the XSS Protection API module before 1.0.12 in Apache Sli…6.1
- CVE-2016-5395Cross-site scripting (XSS) vulnerability in the create user …
- CVE-2016-5396Apache Traffic Server 6.0.0 to 6.2.0 are affected by an HPAC…
- CVE-2016-5397The Apache Thrift Go client library exposed the potential du…
- CVE-2016-5398Cross-site scripting (XSS) vulnerability in Business Process…
- CVE-2016-5400Memory leak in the airspy_probe function in drivers/media/us…
- CVE-2016-5401Cross-site request forgery (CSRF) vulnerability in Red Hat J…
- CVE-2016-5402A code injection flaw was found in the way capacity and util…8.8
- CVE-2016-5403The virtqueue_pop function in hw/virtio/virtio.c in QEMU all…5.5
- CVE-2016-5404The cert_revoke command in FreeIPA does not check for the "r…
- CVE-2016-5405389 Directory Server in Red Hat Enterprise Linux Desktop 6 t…
Are you affected by CVE-2016-5399?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
