Original 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."
Affected software
- Samba ≥ 4.3.0 < 4.3.7≥ 4.4.0 < 4.4.1≥ 3.6.0 < 4.2.10 Fixed in: 4.3.7, 4.4.1, 4.2.10 exact match
Details
- Published
- 2016-04-12
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H- CWE
- CWE-254
- EPSS (30-day exploit probability)
- 37.18% (percentile 99)
References
- cve.org/CVE-2016-2118
- nvd.nist.gov/vuln/detail/CVE-2016-2118
- badlock.org/
- 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
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.