Live threats

All CVEs / Samba

CVE-2016-2118Samba

High 7.5 No auth neededHigh EPSS

Priority
64
CVSS 3.1
7.5
EPSS
37.2%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Apr 12, 2016
Updated
Jun 17, 2026
Category
Server · Linux
Weakness (CWE)
CWE-254
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Samba.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
sambasamba≥ 3.6.0 < 4.2.10
sambasamba≥ 4.3.0 < 4.3.7
sambasamba≥ 4.4.0 < 4.4.1
canonicalubuntu_linux12.04
canonicalubuntu_linux14.04
canonicalubuntu_linux14.04
canonicalubuntu_linux15.10
canonicalubuntu_linux16.04
canonicalubuntu_linux16.04
debiandebian_linux7.0
debiandebian_linux8.0

Official sources

References

Links published by the sources. Open them with care.