---
title: "CVE-2016-2118\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2016-2118?format=md
keywords: index, follow
---

# CVE-2016-2118

Publication date 12 April 2016

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.5 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2016-2118?format=md#impact-score)

Toggle side navigation

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

[Read the notes from the security team](https://ubuntu.com/security/CVE-2016-2118?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| samba | 17.04 zesty | Fixed 2:4.3.8+dfsg-0ubuntu1 |
| 16.10 yakkety | Fixed 2:4.3.8+dfsg-0ubuntu1 |
| 16.04 LTS xenial | Fixed 2:4.3.8+dfsg-0ubuntu1 |
| 15.10 wily | Fixed 2:4.3.8+dfsg-0ubuntu0.15.10.2 |
| 14.04 LTS trusty | Fixed 2:4.3.8+dfsg-0ubuntu0.14.04.2 |
| 12.04 LTS precise | Fixed 2:3.6.25-0ubuntu0.12.04.2 |
| samba4 | 17.04 zesty | Not in release |
| 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

This is known as Badlock

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | High |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2118)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2016-2118)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2016-2118)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2016-2118)

### Related Ubuntu Security Notices (USN)

+ [USN-2950-1](https://usn.ubuntu.com/USN-2950-1)
+ Samba vulnerabilities
+ 18 April 2016

### Other references

* <https://www.samba.org/samba/security/CVE-2016-2118.html>
* <http://badlock.org/>
* <https://www.cve.org/CVERecord?id=CVE-2016-2118>
