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

Published: 2016-04-12 Last update: 2026-05-06 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2016-2118 is rated High Risk (66/100): CVSS High severity, with high exploitation likelihood (EPSS 78.52%, 99th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +1.38% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2016-2118

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-24 77.14% 78.52% +1.38%
2 2025-12-14 79.93% 77.14% -2.79%
3 2025-10-19 79.93%

Full EPSS history (23 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2016-2118

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.6 5.9 [email protected]
6.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 6.4 [email protected]

Weakness enumeration for CVE-2016-2118

OS Trackers for CVE-2016-2118

vendor priority summary link
debian not yet assigned CVE-2016-2118 not yet assigned priority: Debian including 1 source packages (samba), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2016-2118
gentoo normal CVE-2016-2118: 1 GLSA(s) (201612-47), 1 atom(s) (net-fs/samba); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2016-2118
redhat high https://access.redhat.com/security/cve/CVE-2016-2118
suse medium CVE-2016-2118 severity moderate: SUSE including 1248 source package names (amazon/suse-sles-15-sp1-chost-byos-v20210304-hvm-ssd-x86_64, amazon/suse-sles-15-sp1-chost-byos-v20220127-hvm-ssd-x86_64, …), 1889 product×package rows across 58 product lines (SUSE Liberty Linux 7, SUSE Linux Enterprise Desktop 12, … (58 product lines)): Fixed 1686, Known Affected 157, Known Not Affected 46. https://www.suse.com/security/cve/CVE-2016-2118/
ubuntu medium CVE-2016-2118 medium priority: Ubuntu including 2 source packages (samba, samba4), 14 status rows across 7 suites (precise, trusty, upstream, wily, xenial, yakkety, zesty): released 7, DNE 5, ignored 1, needs-triage 1. https://ubuntu.com/security/CVE-2016-2118

Affected software / configurations for CVE-2016-2118

Vendor Product Version Raw CPE
samba samba >= 3.6.0, < 4.2.10 cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
samba samba >= 4.3.0, < 4.3.7 cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
samba samba >= 4.4.0, < 4.4.1 cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
canonical ubuntu_linux 12.04 cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 15.10 cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
debian debian_linux 7.0 cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*

References for CVE-2016-2118

URL Tags
http://badlock.org/ Technical Description Third Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182185.html Mailing List Third Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182272.html Mailing List Third Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182288.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00020.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00021.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00022.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00023.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00024.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html Mailing List Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0611.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0612.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0613.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0614.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0618.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0619.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0620.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0621.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0623.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0624.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0625.html Third Party Advisory
http://www.debian.org/security/2016/dsa-3548 Third Party Advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html Third Party Advisory
http://www.securityfocus.com/bid/86002 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1035533 Third Party Advisory VDB Entry
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.458012 Mailing List Third Party Advisory
http://www.ubuntu.com/usn/USN-2950-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-2950-2 Third Party Advisory
http://www.ubuntu.com/usn/USN-2950-3 Third Party Advisory
http://www.ubuntu.com/usn/USN-2950-4 Third Party Advisory
http://www.ubuntu.com/usn/USN-2950-5 Third Party Advisory
https://access.redhat.com/security/vulnerabilities/badlock Third Party Advisory
https://bto.bluecoat.com/security-advisory/sa122 Third Party Advisory
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05162399 Third Party Advisory
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05166182 Third Party Advisory
https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes Third Party Advisory
https://kb.netapp.com/support/s/article/ka51A0000008SXzQAM/smb-vulnerabilities-in-multiple-netapp-products Third Party Advisory
https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40196 Third Party Advisory
https://security.gentoo.org/glsa/201612-47 Third Party Advisory
https://www.kb.cert.org/vuls/id/813296 Third Party Advisory US Government Resource
https://www.samba.org/samba/history/samba-4.2.10.html Third Party Advisory
https://www.samba.org/samba/latest_news.html#4.4.2 Vendor Advisory
https://www.samba.org/samba/security/CVE-2016-2118.html Vendor Advisory
cvelogic Threat Intelligence