CVE-2016-5768

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…

published August 7, 2016

CVSS
—
EPSS
10%
Percentile
95.5
In the wild
Unconfirmed
What it is

⚠️ A double free vulnerability is lurking in the PHP mbstring extension, potentially letting attackers execute arbitrary code or crash your app! 🚨 Think of it like a restaurant where the chef accidentally tries to serve the same dish twice — if the kitchen can't handle it, it might just crash before the meal is served! If exploited, this vulnerability could lead to unexpected behavior in your application, allowing attackers to execute arbitrary code or even cause a denial of service by crashing the server. That’s a recipe for disaster!

Put simply

Think of it like a restaurant where the chef accidentally tries to serve the same dish twice — if the kitchen can't handle it, it might just crash before the meal is served! The vulnerability resides in the _php_mb_regex_ereg_replace_exec function where a double free occurs, meaning that memory is freed twice leading to potentially exploitable conditions for attackers.

What to do

If exploited, this vulnerability could lead to unexpected behavior in your application, allowing attackers to execute arbitrary code or even cause a denial of service by crashing the server. That’s a recipe for disaster! To protect against this, upgrade your PHP to versions 5.5.37, 5.6.23, or 7.0.8 and ensure you’re running the latest patches. Regularly check for updates to keep your applications secure! You've got this! By following these steps, you’ll be on your way to locking down your PHP environment. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.09630 · 95.5th percentile
Published
2016-08-07T10:00Z
EPSS history
Timeline
  • 07 AUG 10:00Z
    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…
    cvelistv5