CVE-2016-5768: Double Free
Double free vulnerability in the phpmbregexeregreplaceexec function in phpmbregex.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.
Other sources
Fixed bug (phpmbregexeregreplaceexec - double free). (CVE-2016-5768)
— PHP
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2016-5768?
CVE-2016-5768 is considered a critical vulnerability that can allow remote attackers to execute arbitrary code or cause denial of service.
How do I fix CVE-2016-5768?
To fix CVE-2016-5768, you should upgrade to PHP version 5.5.37, 5.6.23, or 7.0.8 or later.
Which versions of PHP are affected by CVE-2016-5768?
CVE-2016-5768 affects PHP versions prior to 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8.
What is the impact of CVE-2016-5768 on PHP applications?
The impact of CVE-2016-5768 includes potential execution of arbitrary code and application crashes.
Are there any workarounds for CVE-2016-5768?
Currently, it is recommended to apply the updates as there are no effective workarounds for CVE-2016-5768.