CVE-2016-2118
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…
Check your servers for CVE-2016-2118
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2016-2118 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
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."
Exploitation
EPSS 37.1%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 98.8% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2016-2118 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2016-2118RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2016-2118Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2016-2118
trivy image --scanners vuln IMAGE | grep CVE-2016-2118
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- SSA:2016-106-02 slackware.com · vendor advisory
- SUSE-SU-2016:1022 lists.opensuse.org · vendor advisory
- RHSA-2016:0612 rhn.redhat.com · vendor advisory
- USN-2950-1 ubuntu.com · vendor advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05166182 h20566.www2.hpe.com
- SUSE-SU-2016:1028 lists.opensuse.org · vendor advisory
- RHSA-2016:0613 rhn.redhat.com · vendor advisory
- RHSA-2016:0621 rhn.redhat.com · vendor advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html oracle.com
- openSUSE-SU-2016:1064 lists.opensuse.org · vendor advisory
- USN-2950-5 ubuntu.com · vendor advisory
- https://www.samba.org/samba/history/samba-4.2.10.html samba.org
30 more
- FEDORA-2016-be53260726 lists.fedoraproject.org · vendor advisory
- RHSA-2016:0624 rhn.redhat.com · vendor advisory
- RHSA-2016:0618 rhn.redhat.com · vendor advisory
- SUSE-SU-2016:1024 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:1023 lists.opensuse.org · vendor advisory
- https://www.samba.org/samba/security/CVE-2016-2118.html samba.org
- https://www.samba.org/samba/latest_news.html#4.4.2 samba.org
- FEDORA-2016-48b3761baa lists.fedoraproject.org · vendor advisory
- VU#813296 kb.cert.org · third party advisory
- RHSA-2016:0614 rhn.redhat.com · vendor advisory
- https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes help.ecostruxureit.com
- openSUSE-SU-2016:1025 lists.opensuse.org · vendor advisory
- RHSA-2016:0620 rhn.redhat.com · vendor advisory
- RHSA-2016:0611 rhn.redhat.com · vendor advisory
- openSUSE-SU-2016:1106 lists.opensuse.org · vendor advisory
- https://bto.bluecoat.com/security-advisory/sa122 bto.bluecoat.com
- USN-2950-3 ubuntu.com · vendor advisory
- FEDORA-2016-383fce04e2 lists.fedoraproject.org · vendor advisory
- openSUSE-SU-2016:1107 lists.opensuse.org · vendor advisory
- RHSA-2016:0619 rhn.redhat.com · vendor advisory
- GLSA-201612-47 security.gentoo.org · vendor advisory
- DSA-3548 debian.org · vendor advisory
- RHSA-2016:0623 rhn.redhat.com · vendor advisory
- USN-2950-2 ubuntu.com · vendor advisory
- https://access.redhat.com/security/vulnerabilities/badlock access.redhat.com
- RHSA-2016:0625 rhn.redhat.com · vendor advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05162399 h20566.www2.hpe.com
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40196 kb.pulsesecure.net
- USN-2950-4 ubuntu.com · vendor advisory
- https://kb.netapp.com/support/s/article/ka51A0000008SXzQAM/smb-vulnerabilities-in-multiple-netapp-products kb.netapp.com
Other references
- http://badlock.org/ badlock.org
- 86002 securityfocus.com · vdb entry
- 1035533 securitytracker.com · vdb entry
Source: the record CVE-2016-2118 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse