CVE-2016-5768
publishedphp: Double free in _php_mb_regex_ereg_replace_exec
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | php5 | Advisory build | 5.6.23+dfsg-0+deb8u1 | DSA-3618-1 |
| Oracle Linux | 7 | phpaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56src | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Debian | wheezy | php5 | Advisory build | 5.4.45-0+deb7u5 | DLA-628-1 |
| Oracle Linux | 7 | phpx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-bcmathaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-bcmathx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | php-cliaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-clix86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-commonaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-commonx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-dbaaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-dbax86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-develaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-develx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-embeddedaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-embeddedx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-enchantaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-enchantx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-fpmaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-fpmx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-gdaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-gdx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-intlaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-intlx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-ldapaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-ldapx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-mbstringaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-mbstringx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-mysqlaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-mysqlx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-mysqlndaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-mysqlndx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-odbcaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-odbcx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-pdoaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-pdox86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-pgsqlaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-pgsqlx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-processaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-processx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-pspellaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-pspellx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-recodeaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-recodex86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-snmpaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-snmpx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-soapaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-soapx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-xmlaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-xmlx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-xmlrpcaarch64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Oracle Linux | 7 | php-xmlrpcx86_64 | Advisory build | 0:5.4.16-42.el7 | ELSA-2016-2598 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56x86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-phpsrc | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-phpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-bcmathx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-clix86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-commonx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-dbax86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-dbgx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-debuginfox86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-develx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-embeddedx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-enchantx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-fpmx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-gdx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-gmpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-imapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-intlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-ldapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-mbstringx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-mysqlndx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-odbcx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-opcachex86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pdox86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pearnoarch | Advisory build | 1:1.9.5-4.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pearsrc | Advisory build | 1:1.9.5-4.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pgsqlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-processx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pspellx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-recodex86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-snmpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-soapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-tidyx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-xmlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-xmlrpcx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-runtimex86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-scldevelx86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | phpaarch64 | Advisory build | 5.4.16-42.el7 | RHSA-2016:2598 |
| Red Hat Enterprise Linux | RHEL-7 | phpppc64 | Advisory build | 5.4.16-42.el7 | RHSA-2016:2598 |
| Red Hat Enterprise Linux | RHEL-7 | phpppc64le | Advisory build | 5.4.16-42.el7 | RHSA-2016:2598 |
| Red Hat Enterprise Linux | RHEL-7 | phps390x | Advisory build | 5.4.16-42.el7 | RHSA-2016:2598 |
| Red Hat Enterprise Linux | RHEL-7 | phpsrc | Advisory build | 5.4.16-42.el7 | RHSA-2016:2598 |
| Red Hat Enterprise Linux | RHEL-7 | phpx86_64 | Advisory build | 5.4.16-42.el7 | RHSA-2016:2598 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmathaarch64 | Advisory build | 5.4.16-42.el7 | RHSA-2016:2598 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmathppc64 | Advisory build | 5.4.16-42.el7 | RHSA-2016:2598 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmathppc64le | Advisory build | 5.4.16-42.el7 | RHSA-2016:2598 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmaths390x | Advisory build | 5.4.16-42.el7 | RHSA-2016:2598 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmathx86_64 | Advisory build | 5.4.16-42.el7 | RHSA-2016:2598 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
14- http://github.com/php/php-src/commit/5b597a2e5b28e2d5a52fc1be13f425f08f47cb62?w=1
- APPLE-SA-2016-09-20 http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html
- openSUSE-SU-2016:1761 http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html
- openSUSE-SU-2016:1922 http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- RHSA-2016:2598 http://rhn.redhat.com/errata/RHSA-2016-2598.html
- RHSA-2016:2750 http://rhn.redhat.com/errata/RHSA-2016-2750.html
- DSA-3618 http://www.debian.org/security/2016/dsa-3618
- [oss-security] 20160623 Re: CVE for PHP 5.5.37 issues http://www.openwall.com/lists/oss-security/2016/06/23/4
- 91396 http://www.securityfocus.com/bid/91396
- https://bugs.php.net/bug.php?id=72402
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731
- https://support.apple.com/HT207170
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a85d496e07d8bc3e0a89d1ab58aab99e2066b3e87480b4a06853ab3184887fe6
- Ingested
- 23 Sep 2026, 07:41:26 UTC
- Source record
- Official CVE record