CVE-2016-5768

9.8 CRITICAL
Published: August 07, 2016 Modified: May 06, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://php.net/ChangeLog-5.php
Source: cve@mitre.org
Patch Release Notes
http://php.net/ChangeLog-7.php
Source: cve@mitre.org
Release Notes
https://bugs.php.net/bug.php?id=72402
Source: cve@mitre.org
Exploit Vendor Advisory
http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://php.net/ChangeLog-5.php
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Release Notes
http://php.net/ChangeLog-7.php
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes
http://rhn.redhat.com/errata/RHSA-2016-2598.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://rhn.redhat.com/errata/RHSA-2016-2750.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.debian.org/security/2016/dsa-3618
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2016/06/23/4
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes
http://www.securityfocus.com/bid/91396
Source: af854a3a-2127-422b-91ae-364da2661108
https://bugs.php.net/bug.php?id=72402
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Vendor Advisory
https://support.apple.com/HT207170
Source: af854a3a-2127-422b-91ae-364da2661108

28 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
21.0%
96th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

php