CVE-2016-5768 Use after free in n/a
Remote attackers can execute arbitrary code or crash the application via a double free vulnerability in the PHP mbstring extension.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-5768?
CVE-2016-5768 is a critical use after free vulnerability in Php Php, published on 7 Aug 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Double free vulnerability in the _php_mb_regex_ereg_replace_exec function in php_mbregex.c in the mbstring extension in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8 allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by leveraging a callback exception.
Weakness: CWE-415
Which versions are affected by CVE-2016-5768?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2016-5768?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2016-5768 being exploited?
There is no known exploitation of CVE-2016-5768 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-4r5p-hffq-cgf5, UBUNTU-CVE-2016-5768.