Home / Samba / Samba / CVE-2016-2118
CVE-2016-2118: is it exploited, and which versions of Samba are affected and fixed?
CVE-2016-2118 is a vulnerability in Samba. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: samba from 3.6.0 before 4.2.10, samba from 4.3.0 before 4.3.7, samba from 4.4.0 before 4.4.1 and 6 more (NVD). Fixed in 4.2.10, 4.3.7 and 4.4.1 (NVD). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:45 UTC.
What is 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 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."
From the CVE record by redhat, last updated August 5, 2024, 23:17 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| samba | samba | from 3.6.0 before 4.2.10 | application |
| samba | samba | from 4.3.0 before 4.3.7 | application |
| samba | samba | from 4.4.0 before 4.4.1 | application |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 15.10 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| debian | debian linux | 7.0 | operating system |
| debian | debian linux | 8.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:43 UTC.
How severe is CVE-2016-2118?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-2118 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 37.2% probability of exploitation activity in the next 30 days, percentile 98.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- SSA:2016-106-02 vendor-advisory, x_refsource_SLACKWARE
- SUSE-SU-2016:1022 vendor-advisory, x_refsource_SUSE
- RHSA-2016:0612 vendor-advisory, x_refsource_REDHAT
- USN-2950-1 vendor-advisory, x_refsource_UBUNTU
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05166182 x_refsource_CONFIRM
- SUSE-SU-2016:1028 vendor-advisory, x_refsource_SUSE
- RHSA-2016:0613 vendor-advisory, x_refsource_REDHAT
- http://badlock.org/ x_refsource_MISC
- RHSA-2016:0621 vendor-advisory, x_refsource_REDHAT
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html x_refsource_CONFIRM
- openSUSE-SU-2016:1064 vendor-advisory, x_refsource_SUSE
- USN-2950-5 vendor-advisory, x_refsource_UBUNTU
- https://www.samba.org/samba/history/samba-4.2.10.html x_refsource_CONFIRM
- FEDORA-2016-be53260726 vendor-advisory, x_refsource_FEDORA
- RHSA-2016:0624 vendor-advisory, x_refsource_REDHAT
- RHSA-2016:0618 vendor-advisory, x_refsource_REDHAT
- 86002 vdb-entry, x_refsource_BID
- SUSE-SU-2016:1024 vendor-advisory, x_refsource_SUSE
- SUSE-SU-2016:1023 vendor-advisory, x_refsource_SUSE
- https://www.samba.org/samba/security/CVE-2016-2118.html x_refsource_CONFIRM
- https://www.samba.org/samba/latest_news.html#4.4.2 x_refsource_CONFIRM
- 1035533 vdb-entry, x_refsource_SECTRACK
- FEDORA-2016-48b3761baa vendor-advisory, x_refsource_FEDORA
- VU#813296 third-party-advisory, x_refsource_CERT-VN
- RHSA-2016:0614 vendor-advisory, x_refsource_REDHAT
- https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes x_refsource_CONFIRM
- openSUSE-SU-2016:1025 vendor-advisory, x_refsource_SUSE
- RHSA-2016:0620 vendor-advisory, x_refsource_REDHAT
- RHSA-2016:0611 vendor-advisory, x_refsource_REDHAT
- openSUSE-SU-2016:1106 vendor-advisory, x_refsource_SUSE
- https://bto.bluecoat.com/security-advisory/sa122 x_refsource_CONFIRM
- USN-2950-3 vendor-advisory, x_refsource_UBUNTU
- FEDORA-2016-383fce04e2 vendor-advisory, x_refsource_FEDORA
- openSUSE-SU-2016:1107 vendor-advisory, x_refsource_SUSE
- RHSA-2016:0619 vendor-advisory, x_refsource_REDHAT
- GLSA-201612-47 vendor-advisory, x_refsource_GENTOO
- DSA-3548 vendor-advisory, x_refsource_DEBIAN
- RHSA-2016:0623 vendor-advisory, x_refsource_REDHAT
- USN-2950-2 vendor-advisory, x_refsource_UBUNTU
- https://access.redhat.com/security/vulnerabilities/badlock x_refsource_CONFIRM
- RHSA-2016:0625 vendor-advisory, x_refsource_REDHAT
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05162399 x_refsource_CONFIRM
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40196 x_refsource_CONFIRM
- USN-2950-4 vendor-advisory, x_refsource_UBUNTU
- https://kb.netapp.com/support/s/article/ka51A0000008SXzQAM/smb-vulnerabilities-in-multiple-netapp-products x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- January 29, 2016
- Published
- April 12, 2016, 23:00 UTC
- CVE record updated
- August 5, 2024, 23:17 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 00:43 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Samba?
- May 30, 2017CVE-2017-7494 samba: code injection (remote code execution) exploited
- Dec 1, 2026CVE-2026-135111 Samba: resource not released after use
- Nov 30, 2026CVE-2026-125628 Samba: type confusion
- Nov 27, 2026CVE-2026-125633 Samba: type confusion
- Nov 27, 2026CVE-2026-125627 Samba: NULL pointer dereference (crash)
- Nov 26, 2026CVE-2026-135107 Samba: memory Allocation with Excessive Size Value
- Nov 25, 2026CVE-2026-125634 Samba: NULL pointer dereference (crash)
- Oct 28, 2026CVE-2026-109411 Samba: improper Handling of Case Sensitivity
Questions about CVE-2016-2118
Is CVE-2016-2118 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 37.2% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Samba are affected by CVE-2016-2118?
samba from 3.6.0 before 4.2.10, samba from 4.3.0 before 4.3.7, samba from 4.4.0 before 4.4.1, ubuntu linux 12.04, ubuntu linux 14.04, ubuntu linux 15.10 and 3 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2016-2118?
4.2.10, 4.3.7 and 4.4.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-2118?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-2118?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.