Skip to content
Fencer Intel
medium 5.9

CVE-2016-2047 json

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; Orac…

published 2016-01-27 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-3153

cvss
5.9
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.7%
EPSS 3.7% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

Summary

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."

Patch / fix

  • mariadb mariadb 5.5.47, 10.0.23, 10.1.10
  • mysql-5.5 Ubuntu 14.04 LTS 5.5.49-0ubuntu0.14.04.1
  • mysql-5.6 Ubuntu 14.04 LTS 5.6.30-0ubuntu0.14.04.1
  • mysql-5.7 Ubuntu 16.04 LTS 5.7.12-0ubuntu1
  • mariadb-5.5 Ubuntu 14.04 LTS 5.5.47-1ubuntu0.14.04.1
  • percona-xtradb-cluster-5.6 Ubuntu 16.04 LTS 5.6.34-26.19-0ubuntu0.16.04.1

ubuntu advisories UBUNTU-CVE-2016-2047

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • mariadb55-mariadb RHEL 2 SOFTWARE_COLLECTIONS 5.5.49-1.el6
  • mariadb55-mariadb RHEL 2 SOFTWARE_COLLECTIONS 5.5.49-1.el7
  • mariadb55-mariadb-libs RHEL 2 SOFTWARE_COLLECTIONS 5.5.49-1.el6
  • mariadb55-mariadb-libs RHEL 2 SOFTWARE_COLLECTIONS 5.5.49-1.el7
  • mariadb55-mariadb-test RHEL 2 SOFTWARE_COLLECTIONS 5.5.49-1.el6
  • mariadb55-mariadb-test RHEL 2 SOFTWARE_COLLECTIONS 5.5.49-1.el7
  • mariadb55-mariadb-bench RHEL 2 SOFTWARE_COLLECTIONS 5.5.49-1.el6
  • mariadb55-mariadb-bench RHEL 2 SOFTWARE_COLLECTIONS 5.5.49-1.el7

red hat advisories RHSA-2016:1481RHSA-2016:0534RHSA-2016:1480RHSA-2016:0705RHSA-2016:1132

  • mariadb104 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 10.4.30-8.5.46
  • lz4 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.0-3.5.2
  • python-mysqlclient SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.3.14-8.9.2
  • mariadb-connector-c SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 3.1.22-2.35.1
  • mariadb SLES for SAP 12, SLES 12, SLED 12 +2 more 10.0.25-20.6.1
  • mariadb SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +2 more 10.0.25-6.1
  • mysql SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 5.5.49-0.20.1
  • mariadb104 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 10.4.30-150100.3.5.10

suse advisories SUSE-RU-2023:4991-1SUSE-RU-2023:3956-1SUSE-SU-2016:1619-1SUSE-SU-2016:1620-1SUSE-SU-2016:1279-1

  • mariadb openSUSE Tumbleweed 10.6.4-2.1

opensuse advisories openSUSE-SU-2024:11038-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-2047 updated cvss 4.9

mysql: ssl-validate-cert incorrect hostname check

  • Red Hat Enterprise Linux 5 mysql55-mysql Red Hat Enterprise Linux 6 mysql, mysql-libs, mysql-test, mysql-bench, mysql-server, mysql-embedded Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) mariadb-galera Red Hat Enterprise Linux OpenStack Platform 6 (Juno) mariadb-galera Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) mariadb-galera, mariadb-galera-common, mariadb-galera-server Red Hat OpenStack Platform 8 (Liberty) mariadb-galera, mariadb-galera-common, mariadb-galera-server
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) mariadb 5.5.47-1.el7_2, mariadb-libs 5.5.47-1.el7_2, mariadb-server 5.5.47-1.el7_2 Red Hat Enterprise Linux Client Optional (v. 7) mariadb-test 5.5.47-1.el7_2, mariadb-bench 5.5.47-1.el7_2, mariadb-embedded 5.5.47-1.el7_2 Red Hat Enterprise Linux ComputeNode (v. 7) mariadb 5.5.47-1.el7_2, mariadb-libs 5.5.47-1.el7_2 Red Hat Enterprise Linux ComputeNode Optional (v. 7) mariadb-test 5.5.47-1.el7_2, mariadb-bench 5.5.47-1.el7_2, mariadb-server 5.5.47-1.el7_2, mariadb-embedded 5.5.47-1.el7_2 Red Hat Enterprise Linux Server (v. 7) mariadb 5.5.47-1.el7_2, mariadb-libs 5.5.47-1.el7_2, mariadb-test 5.5.47-1.el7_2, mariadb-bench 5.5.47-1.el7_2, mariadb-server 5.5.47-1.el7_2 Red Hat Enterprise Linux Server Optional (v. 7) mariadb-embedded 5.5.47-1.el7_2
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 7) mariadb 5.5.47-1.el7_2, mariadb-libs 5.5.47-1.el7_2, mariadb-test 5.5.47-1.el7_2, mariadb-bench 5.5.47-1.el7_2, mariadb-server 5.5.47-1.el7_2 Red Hat Enterprise Linux Workstation Optional (v. 7) mariadb-embedded 5.5.47-1.el7_2
    fixed: vendor fix RHSA-2016:0534
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) mysql55-mysql 5.5.50-1.el6, rh-mysql56-mysql 5.6.30-1.el6, mariadb55-mariadb 5.5.49-1.el6, mysql55-mysql-libs 5.5.50-1.el6, mysql55-mysql-test 5.5.50-1.el6, mysql55-mysql-bench 5.5.50-1.el6, +19 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) mysql55-mysql 5.5.50-1.el7, rh-mysql56-mysql 5.6.30-1.el7, mariadb55-mariadb 5.5.49-1.el7, mysql55-mysql-libs 5.5.50-1.el7, mysql55-mysql-test 5.5.50-1.el7, mysql55-mysql-bench 5.5.50-1.el7, +19 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) mysql55-mysql 5.5.50-1.el6, rh-mysql56-mysql 5.6.30-1.el6, mariadb55-mariadb 5.5.49-1.el6, mysql55-mysql-libs 5.5.50-1.el6, mysql55-mysql-test 5.5.50-1.el6, mysql55-mysql-bench 5.5.50-1.el6, +19 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) mysql55-mysql 5.5.50-1.el6, rh-mysql56-mysql 5.6.30-1.el6, mariadb55-mariadb 5.5.49-1.el6, mysql55-mysql-libs 5.5.50-1.el6, mysql55-mysql-test 5.5.50-1.el6, mysql55-mysql-bench 5.5.50-1.el6, +19 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) mysql55-mysql 5.5.50-1.el7, rh-mysql56-mysql 5.6.30-1.el7, mariadb55-mariadb 5.5.49-1.el7, mysql55-mysql-libs 5.5.50-1.el7, mysql55-mysql-test 5.5.50-1.el7, mysql55-mysql-bench 5.5.50-1.el7, +19 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) mysql55-mysql 5.5.50-1.el7, rh-mysql56-mysql 5.6.30-1.el7, mariadb55-mariadb 5.5.49-1.el7, mysql55-mysql-libs 5.5.50-1.el7, mysql55-mysql-test 5.5.50-1.el7, mysql55-mysql-bench 5.5.50-1.el7, +19 more
    +2 more products
    Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) mysql55-mysql 5.5.50-1.el6, rh-mysql56-mysql 5.6.30-1.el6, mariadb55-mariadb 5.5.49-1.el6, mysql55-mysql-libs 5.5.50-1.el6, mysql55-mysql-test 5.5.50-1.el6, mysql55-mysql-bench 5.5.50-1.el6, +19 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) mysql55-mysql 5.5.50-1.el7, rh-mysql56-mysql 5.6.30-1.el7, mariadb55-mariadb 5.5.49-1.el7, mysql55-mysql-libs 5.5.50-1.el7, mysql55-mysql-test 5.5.50-1.el7, mysql55-mysql-bench 5.5.50-1.el7, +19 more
    fixed: vendor fix RHSA-2016:1132
  • Red Hat Software Collections rh-mariadb101-mariadb, rh-mariadb101-mariadb-test, rh-mariadb101-mariadb-bench, rh-mariadb101-mariadb-common, rh-mariadb101-mariadb-config, rh-mariadb101-mariadb-errmsg, +3 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.74% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

Weakness
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.