Vulnerabilities · 2016 · Php
CVE-2016-5768
Php vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.php.net/bug.php?id=72402 · Exploit
- php.net/ChangeLog-5.php · Patch
- github.com/php/php-src/commit/5b597a2e5b28e2d5a52fc1be13f425f08f47cb62?w=1
- lists.apple.com/archives/security-announce/2016/Sep/msg00006.html
- lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html
- lists.opensuse.org/opensuse-updates/2016-08/msg00003.html
- php.net/ChangeLog-7.php
- rhn.redhat.com/errata/RHSA-2016-2598.html
- nvd.nist.gov/vuln/detail/CVE-2016-5768
- cve.org/CVERecord?id=CVE-2016-5768
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.