CVE-2016-5768Double Free in PHP

Severity
9.8CRITICALNVD
EPSS
21.0%
top 4.35%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedAug 7
Latest updateMay 14

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:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

Ubuntuphp5/php5< 5.5.9+dfsg-1ubuntu4.19
NVDphp/php5.5.36+31
Appleapple/macos_sierra10.12

Patches

🔴Vulnerability Details

3
GHSA
GHSA-4r5p-hffq-cgf5: Double free vulnerability in the _php_mb_regex_ereg_replace_exec function in php_mbregex2022-05-14
OSV
php5, php7.0 vulnerabilities2016-08-02
OSV
CVE-2016-5768: Double free vulnerability in the _php_mb_regex_ereg_replace_exec function in php_mbregex2016-06-24

📋Vendor Advisories

3
Apple
CVE-2016-5768: macOS Sierra 10.122016-09-20
Ubuntu
PHP vulnerabilities2016-08-02
Red Hat
php: Double free in _php_mb_regex_ereg_replace_exec2016-06-23

💬Community

2
Bugzilla
CVE-2016-5768 php: Double free in _php_mb_regex_ereg_replace_exec2016-06-29
Bugzilla
CVE-2016-5766 CVE-2016-5767 CVE-2016-5768 CVE-2016-5769 CVE-2016-5770 CVE-2016-5771 CVE-2016-5772 CVE-2016-5773 php: various flaws [fedora-all]2016-06-29
CVE-2016-5768 — Double Free in PHP | cvebase