Vulnerabilities · 2016 · Php
CVE-2016-5399
Php vulnerability
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.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- php.net/ChangeLog-5.php · Vendor Advisory
- php.net/ChangeLog-7.php · Vendor Advisory
- bugs.php.net/bug.php?id=72613 · Exploit
- packetstormsecurity.com/files/137998/PHP-7.0.8-5.6.23-5.5.37-bzread-OOB-Write.html · Exploit
- rhn.redhat.com/errata/RHSA-2016-2598.html · Third Party Advisory
- rhn.redhat.com/errata/RHSA-2016-2750.html · Third Party Advisory
- seclists.org/fulldisclosure/2016/Jul/72 · Exploit
- www.debian.org/security/2016/dsa-3631 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2016-5399
- cve.org/CVERecord?id=CVE-2016-5399
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.