CVE-2016-5399 Memory corruption in n/a
Remote attackers can execute arbitrary code or cause denial of service via a crafted bz2 archive processed by the PHP bz2 extension.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-5399?
CVE-2016-5399 is a high-severity memory corruption vulnerability in Php Php, published on 21 Apr 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2016-5399?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2016-5399?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2016-5399 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-5399 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-3wxp-gf5c-jh8g, UBUNTU-CVE-2016-5399.