CVE catalog

CVE-2016-2047

UBUNTU-CVE-2016-2047

[CVE catalog]

Severity
Medium · CVSS 5.9CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
3.74% · Oct 25, 2026

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

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Ubuntumariadb-5.514.045.5.32-1ubuntu1vulnerable
Ubuntumariadb-5.514.045.5.35-1ubuntu1vulnerable
Ubuntumariadb-5.514.045.5.36-1vulnerable
Ubuntumariadb-5.514.045.5.37-0ubuntu0.14.04.1vulnerable
Ubuntumariadb-5.514.045.5.39-0ubuntu0.14.04.1vulnerable
Ubuntumariadb-5.514.045.5.40-0ubuntu0.14.04.1vulnerable
Ubuntumariadb-5.514.045.5.41-0ubuntu0.14.04.2vulnerable
Ubuntumariadb-5.514.045.5.41-1ubuntu0.14.04.1vulnerable
Ubuntumariadb-5.514.045.5.43-1ubuntu0.14.04.2vulnerable
Ubuntumariadb-5.514.045.5.44-1ubuntu0.14.04.1vulnerable
Ubuntumariadb-5.514.045.5.46-1ubuntu0.14.04.2vulnerable
Ubuntumariadb-5.514.045.5.47-1ubuntu0.14.04.1fixed
Ubuntumysql-5.514.045.5.32-0ubuntu7vulnerable
Ubuntumysql-5.514.045.5.34-0ubuntu1vulnerable
Ubuntumysql-5.514.045.5.34-0ubuntu2vulnerable
Ubuntumysql-5.514.045.5.35-0ubuntu1vulnerable
Ubuntumysql-5.514.045.5.35+dfsg-1ubuntu1vulnerable
Ubuntumysql-5.514.045.5.37-0ubuntu0.14.04.1vulnerable
Ubuntumysql-5.514.045.5.38-0ubuntu0.14.04.1vulnerable
Ubuntumysql-5.514.045.5.40-0ubuntu0.14.04.1vulnerable
Ubuntumysql-5.514.045.5.41-0ubuntu0.14.04.1vulnerable
Ubuntumysql-5.514.045.5.43-0ubuntu0.14.04.1vulnerable
Ubuntumysql-5.514.045.5.44-0ubuntu0.14.04.1vulnerable
Ubuntumysql-5.514.045.5.46-0ubuntu0.14.04.2vulnerable
Ubuntumysql-5.514.045.5.47-0ubuntu0.14.04.1vulnerable
Ubuntumysql-5.514.045.5.49-0ubuntu0.14.04.1fixed
Ubuntumysql-5.614.045.6.15-0ubuntu1vulnerable
Ubuntumysql-5.614.045.6.15-1~exp2vulnerable
Ubuntumysql-5.614.045.6.16-1~exp1vulnerable
Ubuntumysql-5.614.045.6.17-0ubuntu0.14.04.1vulnerable
Ubuntumysql-5.614.045.6.19-0ubuntu0.14.04.1vulnerable
Ubuntumysql-5.614.045.6.27-0ubuntu0.14.04.1vulnerable
Ubuntumysql-5.614.045.6.28-0ubuntu0.14.04.1vulnerable
Ubuntumysql-5.614.045.6.30-0ubuntu0.14.04.1fixed
Ubuntumysql-5.716.045.7.11-0ubuntu4vulnerable
Ubuntumysql-5.716.045.7.11-0ubuntu5vulnerable
Ubuntumysql-5.716.045.7.11-0ubuntu6vulnerable
Ubuntumysql-5.716.045.7.12-0ubuntu1fixed
Ubuntupercona-xtradb-cluster-5.616.045.6.21-25.8-0ubuntu2vulnerable
Ubuntupercona-xtradb-cluster-5.616.045.6.21-25.8-0ubuntu3vulnerable
Ubuntupercona-xtradb-cluster-5.616.045.6.21-25.8-0ubuntu3.1vulnerable
Ubuntupercona-xtradb-cluster-5.616.045.6.21-25.8-0ubuntu3.2vulnerable
Ubuntupercona-xtradb-cluster-5.616.045.6.34-26.19-0ubuntu0.16.04.1fixed
Ubuntupercona-server-5.616.045.6.22-rel71.0-0ubuntu2vulnerable
Ubuntupercona-server-5.616.045.6.22-rel71.0-0ubuntu4vulnerable
Ubuntupercona-server-5.616.045.6.22-rel71.0-0ubuntu4.1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Ubuntumariadb-5.5deb14.045.5.47-1ubuntu0.14.04.1Not reportedUBUNTU-CVE-2016-2047Not reported
Ubuntumysql-5.5deb14.045.5.49-0ubuntu0.14.04.1Not reportedUBUNTU-CVE-2016-2047Not reported
Ubuntumysql-5.6deb14.045.6.30-0ubuntu0.14.04.1Not reportedUBUNTU-CVE-2016-2047Not reported
Ubuntumysql-5.7deb16.045.7.12-0ubuntu1Not reportedUBUNTU-CVE-2016-2047Not reported
Ubuntupercona-xtradb-cluster-5.6deb16.045.6.34-26.19-0ubuntu0.16.04.1Not reportedUBUNTU-CVE-2016-2047Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References