Critical severity · published Aug 7, 2016
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, and 7.x before…
9.8
CVSS
9.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)9.6% · higher than 95% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
through 5.5.36; 5.6.0; 5.6.0; 5.6.0; 5.6.0; 5.6.0; +34 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2016-5768
CVE.org
https://www.cve.org/CVERecord?id=CVE-2016-5768
github.com
http://github.com/php/php-src/commit/5b597a2e5b28e2d5a52fc1be13f425f08f47cb62?w=1
lists.apple.com
http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html
Patch
http://php.net/ChangeLog-5.php
Release Notes
http://php.net/ChangeLog-7.php
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
