Home / Mariadb / Mariadb / CVE-2016-2047
CVE-2016-2047: is it exploited, and which versions of Mariadb are affected and fixed?
CVE-2016-2047 is a vulnerability in Mariadb. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: mariadb from 5.5.20 before 5.5.47, mariadb from 10.0.0 before 10.0.23, mariadb from 10.1.0 before 10.1.10 and 13 more (NVD). Fixed in 5.5.47, 10.0.23 and 10.1.10 (NVD). Severity: Medium (5.9, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:46 UTC.
What is CVE-2016-2047?
The ssl_verify_server_cert function in sql-common/client.c in MariaDB before 5.5.47, 10.0.x before 10.0.23, and 10.1.x before 10.1.10; Oracle MySQL 5.5.48 and earlier, 5.6.29 and earlier, and 5.7.11 and earlier; and Percona Server do not properly verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a "/CN=" string in a field in a certificate, as demonstrated by "/OU=/CN=bar.com/CN=foo.com."
From the CVE record by mitre, last updated August 5, 2024, 23:17 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mariadb | mariadb | from 5.5.20 before 5.5.47 | application |
| mariadb | mariadb | from 10.0.0 before 10.0.23 | application |
| mariadb | mariadb | from 10.1.0 before 10.1.10 | application |
| oracle | linux | 7 | operating system |
| oracle | mysql | from 5.5.0 through 5.5.48 | application |
| oracle | mysql | from 5.6.0 through 5.6.29 | application |
| oracle | mysql | from 5.7.0 through 5.7.11 | application |
| opensuse | leap | 42.1 | operating system |
| redhat | enterprise linux | 6.0 | operating system |
| redhat | enterprise linux | 7.0 | operating system |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 15.10 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:43 UTC.
How severe is CVE-2016-2047?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-2047 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.74% probability of exploitation activity in the next 30 days, percentile 90.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- SUSE-SU-2016:1620 vendor-advisory, x_refsource_SUSE
- RHSA-2016:1481 vendor-advisory, x_refsource_REDHAT
- RHSA-2016:1132 vendor-advisory, x_refsource_REDHAT
- RHSA-2016:0534 vendor-advisory, x_refsource_REDHAT
- 1035606 vdb-entry, x_refsource_SECTRACK
- [oss-security] 20160126 Flaw in mariadb clients SSL certificate validation mailing-list, x_refsource_MLIST
- USN-2953-1 vendor-advisory, x_refsource_UBUNTU
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html x_refsource_CONFIRM
- openSUSE-SU-2016:1332 vendor-advisory, x_refsource_SUSE
- USN-2954-1 vendor-advisory, x_refsource_UBUNTU
- SUSE-SU-2016:1619 vendor-advisory, x_refsource_SUSE
- RHSA-2016:1480 vendor-advisory, x_refsource_REDHAT
- 81810 vdb-entry, x_refsource_BID
- openSUSE-SU-2016:1664 vendor-advisory, x_refsource_SUSE
- https://mariadb.atlassian.net/browse/MDEV-9212 x_refsource_CONFIRM
- https://mariadb.com/kb/en/mdb-10023-rn/ x_refsource_CONFIRM
- DSA-3557 vendor-advisory, x_refsource_DEBIAN
- DSA-3453 vendor-advisory, x_refsource_DEBIAN
- https://mariadb.com/kb/en/mariadb/mariadb-5547-release-notes/ x_refsource_CONFIRM
- http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html x_refsource_CONFIRM
- openSUSE-SU-2016:1686 vendor-advisory, x_refsource_SUSE
- https://mariadb.com/kb/en/mariadb/mariadb-10110-release-notes/ x_refsource_CONFIRM
- RHSA-2016:0705 vendor-advisory, x_refsource_REDHAT
- SUSE-SU-2016:1279 vendor-advisory, x_refsource_SUSE
When was it published, and where is the official record?
- Reserved
- January 22, 2016
- Published
- January 27, 2016, 20:00 UTC
- CVE record updated
- August 5, 2024, 23:17 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:43 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:46 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mariadb?
- Apr 3, 2026CVE-2026-35549 MariaDB: memory Allocation with Excessive Size Value
- Dec 23, 2025CVE-2025-13699 MariaDB: path traversal (reading or writing files outside the intended folder)
- Mar 8, 2025CVE-2023-52971 MariaDB: insecure Automated Optimizations
- Mar 8, 2025CVE-2023-52970 MariaDB: insecure Automated Optimizations
- Mar 8, 2025CVE-2023-52969 MariaDB: insecure Automated Optimizations
- Mar 8, 2025CVE-2023-52968 MariaDB: incorrect Behavior Order
- Oct 17, 2024CVE-2024-27766 Mariadb: code injection (remote code execution) disputed
- Oct 17, 2024CVE-2023-39593 Mariadb: code injection (remote code execution) disputed
Questions about CVE-2016-2047
Is CVE-2016-2047 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 3.74% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Mariadb are affected by CVE-2016-2047?
mariadb from 5.5.20 before 5.5.47, mariadb from 10.0.0 before 10.0.23, mariadb from 10.1.0 before 10.1.10, linux 7, mysql from 5.5.0 through 5.5.48, mysql from 5.6.0 through 5.6.29 and 10 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2016-2047?
5.5.47, 10.0.23 and 10.1.10, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-2047?
Medium (5.9, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-2047?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.