Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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."

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-2118
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:36 UTC · Revision 1

Source evidence

CVE-2016-2118

core-osv · Original source

Published 12 Apr 2016, 23:59 UTC

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

osv:CVE-2016-2118
Complete source record
{
  "id": "3846d76562482d77194308f5aa2a7f8e640b5751404a7851a196747341d96f53",
  "url": "https://osv.dev/vulnerability/CVE-2016-2118",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-2118",
    "summary": "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.\"",
    "evidence": "osv:CVE-2016-2118",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2016-2118",
      "aliases": [
        "CVE-2016-2118"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/samba-team/samba",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b1d9ddf738c6e59e489bc9c339ce6de5988b689e"
                },
                {
                  "fixed": "343f384dd39bf05867461fde4c79167604d99f98"
                },
                {
                  "introduced": "b85f6018c803fb9aad82820d4b5505179ec5bac3"
                },
                {
                  "fixed": "6597749526d747283d435ea37eee5890fe7c46cd"
                },
                {
                  "introduced": "30812c414bb0ceb95abae08c35b94b2f97be4c5c"
                },
                {
                  "fixed": "c8180d1f65fe205e8847b08355622e8cec162a1d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.6.0"
                      },
                      {
                        "fixed": "4.2.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.3.0"
                      },
                      {
                        "fixed": "4.3.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.4.0"
                      },
                      {
                        "fixed": "4.4.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "samba-4.3.6",
            "samba-4.4.0",
            "samba-4.3.5",
            "samba-4.3.4",
            "samba-4.3.2",
            "samba-4.3.1",
            "samba-4.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-2118.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:20.789273683Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/security/vulnerabilities/badlock",
        "https://bto.bluecoat.com/security-advisory/sa122",
        "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05162399",
        "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05166182",
        "https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes",
        "https://kb.netapp.com/support/s/article/ka51A0000008SXzQAM/smb-vulnerabilities-in-multiple-netapp-products",
        "https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40196",
        "https://security.gentoo.org/glsa/201612-47",
        "https://www.kb.cert.org/vuls/id/813296",
        "https://www.samba.org/samba/history/samba-4.2.10.html",
        "https://www.samba.org/samba/latest_news.html#4.4.2",
        "https://www.samba.org/samba/security/CVE-2016-2118.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "12.04"
                  },
                  {
                    "last_affected": "12.04"
                  },
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "15.10"
                  },
                  {
                    "last_affected": "15.10"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  },
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2016-2118",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430337,
  "published_at": "2016-04-12T23:59:37.497+00:00"
}