cve.bz

CVE-2016-2118 (Badlock) 7PK - Security Features

7.5 highEPSS 37%

Known as Badlock

High (7.5). EPSS 37% estimated probability of exploitation activity in the next 30 days.

On this page
The MS-SAMR and MS-LSAD protocol implementations in Samba 3.x and 4.x before 4.2.11, 4.3.x before 4.3.8, and 4.4.x before 4.4.2 mishandle DCERPC connections, which allows man-in-the-middle attackers to perform protocol-downgrade attacks and impersonate users by modifying the client-server data stream, aka "BADLOCK."

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
37% (unchanged from 37% a week ago; 37% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-254 7PK - Security Features
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-2118 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-2118?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-2118?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-2118 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
samba:sambafrom 3.6.0 before 4.2.10
samba:sambafrom 4.3.0 before 4.3.7
samba:sambafrom 4.4.0 before 4.4.1
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux15.10
canonical:ubuntu_linux16.04
debian:debian_linux7.0
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7samba2:3.6.6-6+deb7u9DSA-3548-1
Debian8samba2:4.2.10+dfsg-0+deb8u1DSA-3548-1
Debian12, 13, 14samba2:4.3.7+dfsg-1DEBIAN-CVE-2016-2118
Ubuntu14.04:LTSsamba2:4.3.8+dfsg-0ubuntu0.14.04.2UBUNTU-CVE-2016-2118 USN-2950-1
Ubuntu16.04:LTSsamba2:4.3.8+dfsg-0ubuntu1UBUNTU-CVE-2016-2118
Red Hatenterprise_linux:5::clientsamba, samba-swat, libsmbclient and 3 more0:3.0.33-3.41.el5_11RHSA-2016:0621
Red Hatenterprise_linux:5::clientsamba3x, samba3x-doc, samba3x-swat and 5 more0:3.6.23-12.el5_11RHSA-2016:0613
Red Hatenterprise_linux:5::client_workstationsamba, samba-debuginfo, libsmbclient-devel0:3.0.33-3.41.el5_11RHSA-2016:0621
Red Hatenterprise_linux:5::client_workstationsamba3x, samba3x-debuginfo, samba3x-winbind-devel0:3.6.23-12.el5_11RHSA-2016:0613
Red Hatenterprise_linux:5::serversamba, samba-swat, libsmbclient and 4 more0:3.0.33-3.41.el5_11RHSA-2016:0621
Red Hatenterprise_linux:5::serversamba3x, samba3x-doc, samba3x-swat and 6 more0:3.6.23-12.el5_11RHSA-2016:0613
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moreipa, ipa-client, ipa-python and 5 more0:3.0.0-47.el6_7.2RHSA-2016:0612
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morelibtdb, tdb-tools, python-tdb and 2 more0:1.3.8-1.el6_7RHSA-2016:0612
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morelibtevent, python-tevent, libtevent-devel and 1 more0:0.9.26-2.el6_7RHSA-2016:0612
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morepyldb, libldb, ldb-tools and 3 more0:1.1.25-2.el6_7RHSA-2016:0612
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morepytalloc, libtalloc, pytalloc-devel and 2 more0:2.1.5-1.el6_7RHSA-2016:0612
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moresamba, samba-doc, samba-swat and 11 more0:3.6.23-30.el6_7RHSA-2016:0611
63 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Desktop 12, Linux Enterprise High Availability Extension 12, Linux Enterprise Server 12 and 2 moresamba4.2.4-18.17.1SUSE-SU-2016:1022-1
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise High Availability Extension 12 SP1, Linux Enterprise Server 12 SP1 and 2 moresamba4.2.4-16.1SUSE-SU-2016:1024-1
SUSELinux Enterprise Server 11 SP2-LTSSsamba, samba-doc3.6.3-52.1SUSE-SU-2016:1028-1
SUSELinux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA, Linux Enterprise Server 11 SP4 and 6 moresamba3.6.3-76.1SUSE-SU-2016:1023-1
SUSELinux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA, Linux Enterprise Server 11 SP4 and 4 moresamba-doc3.6.3-76.2SUSE-SU-2016:1023-1
openSUSETumbleweedsamba4.5.0-1.1openSUSE-SU-2024:10069-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 4 Extended Lifecycle Supportsamba-0:3.0.33-3.37.el4Fixed 2016-04-12RHSA-2016:0625
Red Hat Enterprise Linux 5samba3x-0:3.6.23-12.el5_11Fixed 2016-04-12RHSA-2016:0613
Red Hat Enterprise Linux 5samba-0:3.0.33-3.41.el5_11Fixed 2016-04-12RHSA-2016:0621
Red Hat Enterprise Linux 5.6 Long Lifesamba-0:3.0.33-3.30.el5_6Fixed 2016-04-12RHSA-2016:0623
Red Hat Enterprise Linux 5.6 Long Lifesamba3x-0:3.6.23-12.el5_6Fixed 2016-04-12RHSA-2016:0624
Red Hat Enterprise Linux 5.9 Long Lifesamba-0:3.0.33-3.40.el5_9Fixed 2016-04-12RHSA-2016:0623
Red Hat Enterprise Linux 5.9 Long Lifesamba3x-0:3.6.23-12.el5_9Fixed 2016-04-12RHSA-2016:0624
Red Hat Enterprise Linux 6samba-0:3.6.23-30.el6_7Fixed 2016-04-12RHSA-2016:0611
Red Hat Enterprise Linux 6ipa-0:3.0.0-47.el6_7.2Fixed 2016-04-13RHSA-2016:0612
Red Hat Enterprise Linux 6libldb-0:1.1.25-2.el6_7Fixed 2016-04-13RHSA-2016:0612
Red Hat Enterprise Linux 6libtalloc-0:2.1.5-1.el6_7Fixed 2016-04-13RHSA-2016:0612
Red Hat Enterprise Linux 6libtdb-0:1.3.8-1.el6_7Fixed 2016-04-13RHSA-2016:0612
Red Hat Enterprise Linux 6libtevent-0:0.9.26-2.el6_7Fixed 2016-04-13RHSA-2016:0612
Red Hat Enterprise Linux 6openchange-0:1.0-7.el6_7Fixed 2016-04-13RHSA-2016:0612
Red Hat Enterprise Linux 6samba4-0:4.2.10-6.el6_7Fixed 2016-04-13RHSA-2016:0612
Red Hat Enterprise Linux 6.2 Advanced Update Supportsamba-0:3.6.23-30.el6_2Fixed 2016-04-12RHSA-2016:0619
Red Hat Enterprise Linux 6.2 Advanced Update Supportevolution-mapi-0:0.28.3-8.el6_2Fixed 2016-04-12RHSA-2016:0620
Red Hat Enterprise Linux 6.2 Advanced Update Supportlibldb-0:1.1.25-2.el6_2Fixed 2016-04-12RHSA-2016:0620
Red Hat Enterprise Linux 6.2 Advanced Update Supportopenchange-0:1.0-1.el6_2Fixed 2016-04-12RHSA-2016:0620
Red Hat Enterprise Linux 6.2 Advanced Update Supportsamba4-0:4.2.10-6.el6_2Fixed 2016-04-12RHSA-2016:0620
42 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-2118.

References

Check your stackJSON