{"id":"CVE-2016-5768","url":"https://www.cyber-defence.io/tools/cve/CVE-2016-5768","generatedAt":"2026-10-27T19:49:05.285Z","title":"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…","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.","published":"2016-08-07T10:59:16.000Z","lastModified":"2026-06-17T00:50:01.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-415"],"affected":["php/php"],"epss":{"score":0.0963,"percentile":0.95451,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (9.63%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"http://github.com/php/php-src/commit/5b597a2e5b28e2d5a52fc1be13f425f08f47cb62?w=1","source":"cve@mitre.org"},{"url":"http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html","source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html","source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html","source":"cve@mitre.org"},{"url":"http://php.net/ChangeLog-5.php","tags":["Patch","Release Notes"],"source":"cve@mitre.org"},{"url":"http://php.net/ChangeLog-7.php","tags":["Release Notes"],"source":"cve@mitre.org"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2598.html","source":"cve@mitre.org"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","source":"cve@mitre.org"},{"url":"http://www.debian.org/security/2016/dsa-3618","source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2016/06/23/4","tags":["Release Notes"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/91396","source":"cve@mitre.org"},{"url":"https://bugs.php.net/bug.php?id=72402","tags":["Exploit","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731","source":"cve@mitre.org"},{"url":"https://support.apple.com/HT207170","source":"cve@mitre.org"},{"url":"http://github.com/php/php-src/commit/5b597a2e5b28e2d5a52fc1be13f425f08f47cb62?w=1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://php.net/ChangeLog-5.php","tags":["Patch","Release Notes"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://php.net/ChangeLog-7.php","tags":["Release Notes"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2598.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2016/dsa-3618","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2016/06/23/4","tags":["Release Notes"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/91396","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugs.php.net/bug.php?id=72402","tags":["Exploit","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/HT207170","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-5768","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}