php: Heap overflow in mysqlnd when not receiving UNSIGNED_FLAG in BIT field
Published Sep 17, 2016
8.1
HIGHCVSS 3.0
EPSS 8.85%
Description
ext/mysqlnd/mysqlnd_wireprotocol.c in PHP before 5.6.26 and 7.x before 7.0.11 does not verify that a BIT field has the UNSIGNED_FLAG flag, which allows remote MySQL servers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via crafted field metadata.
Affected products
No data.
- ≤ 5.6.25
- 7.0.0
- 7.0.1
- 7.0.2
- 7.0.3
- 7.0.4
- 7.0.5
- 7.0.6
- 7.0.7
- 7.0.8
- 7.0.9
- 7.0.10
No data.
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php70-php-0:7.0.27-1.el6
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php70-php-0:7.0.27-1.el6
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Will not fix
Red Hat Enterprise Linux 6
php
Will not fix
Red Hat Enterprise Linux 7
php
Will not fix
Red Hat Software Collections
php54-php
Will not fix
Red Hat Software Collections
php55-php
Will not fix
Red Hat Software Collections
rh-php56-php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php70-php-0:7.0.27-1.el6 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php70-php-0:7.0.27-1.el6 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | php | Will not fix | n/a |
| Red Hat Software Collections | php54-php | Will not fix | n/a |
| Red Hat Software Collections | php55-php | Will not fix | n/a |
| Red Hat Software Collections | rh-php56-php | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (31 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 8.85% (0.08850) | 95.06th | v5 (v2026.06.15) |
| Jun 15, 2026 | 8.81% (0.08810) | 94.49th | v5 (v2026.06.15) |
| Aug 1, 2025 | 0.96% (0.00958) | 75.64th | v4 (v2025.03.14) |
| Jun 21, 2025 | 1.97% (0.01966) | 82.67th | v4 (v2025.03.14) |
| Jun 4, 2025 | 3.72% (0.03724) | 87.41th | v4 (v2025.03.14) |
| Jun 1, 2025 | 2.08% (0.02084) | 83.18th | v4 (v2025.03.14) |
| May 30, 2025 | 3.72% (0.03724) | 87.39th | v4 (v2025.03.14) |
| May 5, 2025 | 5.00% (0.05004) | 89.10th | v4 (v2025.03.14) |
| May 1, 2025 | 2.70% (0.02696) | 85.10th | v4 (v2025.03.14) |
| Apr 20, 2025 | 5.00% (0.05004) | 89.11th | v4 (v2025.03.14) |
| Apr 19, 2025 | 2.70% (0.02696) | 85.06th | v4 (v2025.03.14) |
| Apr 15, 2025 | 5.00% (0.05004) | 89.08th | v4 (v2025.03.14) |
| Apr 13, 2025 | 2.70% (0.02696) | 84.65th | v4 (v2025.03.14) |
| Apr 12, 2025 | 5.00% (0.05004) | 88.78th | v4 (v2025.03.14) |
| Apr 11, 2025 | 3.72% (0.03724) | 86.96th | v4 (v2025.03.14) |
| Apr 10, 2025 | 2.08% (0.02084) | 82.54th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.72% (0.03724) | 86.88th | v4 (v2025.03.14) |
| Mar 29, 2025 | 12.47% (0.12474) | 89.84th | v4 (v2025.03.14) |
| Mar 21, 2025 | 3.72% (0.03724) | 86.98th | v4 (v2025.03.14) |
| Mar 20, 2025 | 2.08% (0.02084) | 82.52th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.72% (0.03724) | 87.19th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.59% (0.01589) | 87.86th | v3 (v2023.03.01) |
| Feb 28, 2024 | 1.59% (0.01589) | 86.99th | v3 (v2023.03.01) |
| Nov 10, 2023 | 1.13% (0.01125) | 82.97th | v3 (v2023.03.01) |
| Aug 21, 2023 | 1.00% (0.00998) | 81.68th | v3 (v2023.03.01) |
| Jul 9, 2023 | 0.94% (0.00937) | 80.90th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.91% (0.00909) | 80.33th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.54% (0.01537) | 74.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.54% (0.01537) | 72.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.54% (0.01537) | 51.33th | v2 (v2022.01.01) |
References (14)
- http://www.openwall.com/lists/oss-security/2016/09/15/10 mailing-listx_refsource_MLISTMailing List
- http://www.php.net/ChangeLog-5.php x_refsource_CONFIRMRelease Notes
- http://www.php.net/ChangeLog-7.php x_refsource_CONFIRMRelease Notes
- http://www.securityfocus.com/bid/93005 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1036836 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/errata/RHSA-2018:1296 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2016-7412 Vendor Advisory
- https://bugs.php.net/bug.php?id=72293 x_refsource_CONFIRMExploitIssue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=1377311 Issue Tracking
- https://github.com/php/php-src/commit/28f80baf3c53e267c9ce46a2a0fadbb981585132?w=1 x_refsource_CONFIRMIssue TrackingPatch
- https://nvd.nist.gov/vuln/detail/CVE-2016-7412
- https://security.gentoo.org/glsa/201611-22 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2016-7412
- https://www.tenable.com/security/tns-2016-19 x_refsource_CONFIRM
Change history (0)
No recorded changes yet.