CVE-2016-2118 in Canonical Ubuntu Linux and 2 more products
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."
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 12.04 14.04 15.10 16.04 |
| Debian | Debian Linux | 7.0 8.0 |
| Samba | Samba | ≥ 3.6.0, < 4.2.10 ≥ 4.3.0, < 4.3.7 ≥ 4.4.0, < 4.4.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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."
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2016-2118 |
|---|---|
| BreachSpider ID | BS-2016-GLOBAL-190772-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2016-04-12 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-254: CWE-254
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2016. A high severity vulnerability affects Canonical systems (CVE-2016-2118). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.
Vulnerability details: 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." CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
Questions
What is CVE-2016-2118?
This vulnerability was disclosed in 2016. A high severity vulnerability affects Canonical systems (CVE-2016-2118). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2016-2118?
CVE-2016-2118 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 37.2%.
Is CVE-2016-2118 actively exploited?
No confirmed active exploitation of CVE-2016-2118 as of 2026-09-25.
How do I remediate CVE-2016-2118?
Priority: MEDIUM. Advisory: https://www.samba.org/samba/latest_news.html#4.4.2 PSIRT: [email protected]
What systems are affected by CVE-2016-2118?
CVE-2016-2118 affects Canonical Ubuntu Linux; Debian Debian Linux; Samba Samba.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.