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…
Noroxi assessment
Priority: Plan (action score 41/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 37.1% (FIRST EPSS); higher than 98.5% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. Special conditions such as timing or configuration are required.
- Fixed version: samba (Debian:12) 2:4.3.7+dfsg-1; samba (Debian:7) 2:3.6.6-6+deb7u9; samba (Debian:8) 2:4.2.10+dfsg-0+deb8u1.
Add it to your regular patch cycle. Upgrade to samba (Debian:12) 2:4.3.7+dfsg-1; samba (Debian:7) 2:3.6.6-6+deb7u9; samba (Debian:8) 2:4.2.10+dfsg-0+deb8u1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Apr 12, 2016
- Updated
- Jun 16, 2026
- EPSS
- 37.1% · 98th percentile
- CWE
- CWE-254
Report tools
Action score
41
Add it to your regular patch cycle.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 11 / 30 · 37.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| samba | samba | cpe:2.3:a:samba:samba |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux15.10
- canonical ubuntu linux16.04
- debian debian linux7.0
- debian debian linux8.0
- samba samba4.4.0 and later · before 4.4.1
- samba samba4.3.0 and later · before 4.3.7
- samba samba3.6.0 and later · before 4.2.10
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | samba | before 2:4.3.7+dfsg-1 | 2:4.3.7+dfsg-1 |
| Debian:7 | samba | before 2:3.6.6-6+deb7u9 | 2:3.6.6-6+deb7u9 |
| Debian:8 | samba | before 2:4.2.10+dfsg-0+deb8u1 | 2:4.2.10+dfsg-0+deb8u1 |
| Red Hat:enterprise_linux:5::client | libsmbclient | before 0:3.0.33-3.41.el5_11 | 0:3.0.33-3.41.el5_11 |
| Red Hat:enterprise_linux:5::client | samba | before 0:3.0.33-3.41.el5_11 | 0:3.0.33-3.41.el5_11 |
| Red Hat:enterprise_linux:5::client | samba-client | before 0:3.0.33-3.41.el5_11 | 0:3.0.33-3.41.el5_11 |
| Red Hat:enterprise_linux:5::client | samba-common | before 0:3.0.33-3.41.el5_11 | 0:3.0.33-3.41.el5_11 |
| Red Hat:enterprise_linux:5::client | samba-debuginfo | before 0:3.0.33-3.41.el5_11 | 0:3.0.33-3.41.el5_11 |
| Red Hat:enterprise_linux:5::client | samba-swat | before 0:3.0.33-3.41.el5_11 | 0:3.0.33-3.41.el5_11 |
| Red Hat:enterprise_linux:5::client | samba3x | before 0:3.6.23-12.el5_11 | 0:3.6.23-12.el5_11 |
| Red Hat:enterprise_linux:5::client | samba3x-client | before 0:3.6.23-12.el5_11 | 0:3.6.23-12.el5_11 |
| Red Hat:enterprise_linux:5::client | samba3x-common | before 0:3.6.23-12.el5_11 | 0:3.6.23-12.el5_11 |
| Red Hat:enterprise_linux:5::client | samba3x-debuginfo | before 0:3.6.23-12.el5_11 | 0:3.6.23-12.el5_11 |
| Red Hat:enterprise_linux:5::client | samba3x-doc | before 0:3.6.23-12.el5_11 | 0:3.6.23-12.el5_11 |
| Red Hat:enterprise_linux:5::client | samba3x-domainjoin-gui | before 0:3.6.23-12.el5_11 | 0:3.6.23-12.el5_11 |
| Red Hat:enterprise_linux:5::client | samba3x-swat | before 0:3.6.23-12.el5_11 | 0:3.6.23-12.el5_11 |
| Red Hat:enterprise_linux:5::client | samba3x-winbind | before 0:3.6.23-12.el5_11 | 0:3.6.23-12.el5_11 |
| Red Hat:enterprise_linux:5::client_workstation | libsmbclient-devel | before 0:3.0.33-3.41.el5_11 | 0:3.0.33-3.41.el5_11 |
| Red Hat:enterprise_linux:5::client_workstation | samba3x-winbind-devel | before 0:3.6.23-12.el5_11 | 0:3.6.23-12.el5_11 |
| Red Hat:enterprise_linux:6::client | ipa | before 0:3.0.0-47.el6_7.2 | 0:3.0.0-47.el6_7.2 |
| Red Hat:enterprise_linux:6::client | ipa-admintools | before 0:3.0.0-47.el6_7.2 | 0:3.0.0-47.el6_7.2 |
| Red Hat:enterprise_linux:6::client | ipa-client | before 0:3.0.0-47.el6_7.2 | 0:3.0.0-47.el6_7.2 |
| Red Hat:enterprise_linux:6::client | ipa-debuginfo | before 0:3.0.0-47.el6_7.2 | 0:3.0.0-47.el6_7.2 |
| Red Hat:enterprise_linux:6::client | ipa-python | before 0:3.0.0-47.el6_7.2 | 0:3.0.0-47.el6_7.2 |
+96
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious…KEV99Now
- CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x…66This week
- CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1…66This week
Published before and after this one in the same product
- ← EarlierCVE-2015-7560Mar 13, 2016 · The SMB1 implementation in smbd in Samba 3.x and 4.x before 4.1.23, 4.2.x before 4.2.9, 4.3.x before 4.3.6, and 4.4.x before 4.4.0rc4…30Monitor
- ← EarlierCVE-2016-0771Mar 13, 2016 · The internal DNS server in Samba 4.x before 4.1.23, 4.2.x before 4.2.9, 4.3.x before 4.3.6, and 4.4.x before 4.4.0rc4, when an AD DC is…24Monitor
- Later →CVE-2015-5370Apr 24, 2016 · 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 does not properly implement the DCE-RPC layer, which allows…29Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:samba | 2:4.3.7+dfsg-1 · Debian:12 | Package registry (OSV) |
| red hat:libsmbclient | 0:3.6.23-30.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:libsmbclient-devel | 0:3.6.23-30.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba | 0:3.6.23-30.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-client | 0:3.6.23-30.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-common | 0:3.6.23-30.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-debuginfo | 0:3.6.23-30.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-doc | 0:3.6.23-30.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-domainjoin-gui | 0:3.6.23-30.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-glusterfs | 0:3.6.23-30.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-swat | 0:3.6.23-30.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-winbind | 0:3.6.23-30.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-winbind-clients | 0:3.6.23-30.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| suse:samba | 4.2.4-18.17.1 · SUSE:Linux Enterprise Desktop 12 | Package registry (OSV) |
| suse:samba-doc | 3.6.3-76.2 · SUSE:OpenStack Cloud 5 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:0 | 2016-04-17 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+4 d
- TodayNov 14, 2026+3867 d
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-254 · 7PK - Security FeaturesCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- lists.fedoraproject.org/pipermail/package-announce/2016-April/182185.html
- lists.fedoraproject.org/pipermail/package-announce/2016-April/182272.html
- lists.fedoraproject.org/pipermail/package-announce/2016-April/182288.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00020.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00021.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00022.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00023.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00024.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html
- rhn.redhat.com/errata/RHSA-2016-0611.html
- rhn.redhat.com/errata/RHSA-2016-0612.html
- rhn.redhat.com/errata/RHSA-2016-0613.html
- rhn.redhat.com/errata/RHSA-2016-0614.html
- rhn.redhat.com/errata/RHSA-2016-0618.html
- rhn.redhat.com/errata/RHSA-2016-0619.html
- rhn.redhat.com/errata/RHSA-2016-0620.html
- rhn.redhat.com/errata/RHSA-2016-0621.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.