Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2016-5768

php: Double free in _php_mb_regex_ereg_replace_exec

Overview

Published
7 Aug 2016
Modified
17 Jun 2026
Critical CVE
0 Registry packages
56 OS packages
2 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

9.8 · CRITICAL

CVSS 3.0 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-415

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 5 fixes

Oracle Linux 1 release · 1 package

fixed 1
php
Oracle Linux fixes for CVE-2016-5768
ReleasePackageFixed in
7 php +24 5.4.16-42.el7

Red Hat 1 release · 4 packages

fixed 4
rh-php56 php rh-php56-php rh-php56-php-pear
Red Hat fixes for CVE-2016-5768
ReleasePackageFixed inAdvisory
7 rh-php56 +2 0:2.3-1.el7 RHSA-2016:2750
7 php +24 0:5.4.16-42.el7 RHSA-2016:2598
7 rh-php56-php +26 0:5.6.25-1.el7 RHSA-2016:2750
7 rh-php56-php-pear 1:1.9.5-4.el7 RHSA-2016:2750

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.