GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

UBUNTU-CVE-2018-16851 (CVE-2018-16851)

Vulnerability from osv_ubuntu – Published: 2018-11-27 00:00 – Updated: 2026-04-22 07:38 – Source website
VLAI
Details

Samba from version 4.0.0 and before versions 4.7.12, 4.8.7, 4.9.3 is vulnerable to a denial of service. During the processing of an LDAP search before Samba's AD DC returns the LDAP entries to the client, the entries are cached in a single memory object with a maximum size of 256MB. When this size is reached, the Samba process providing the LDAP service will follow the NULL pointer, terminating the process. There is no further vulnerability associated with this issue, merely a denial of service.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libnss-winbind",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "libpam-smbpass",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "libpam-winbind",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "libparse-pidl-perl",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "libsmbclient",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "libsmbsharemodes0",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "libwbclient0",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "python-samba",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "registry-tools",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "samba",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "samba-common",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "samba-common-bin",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "samba-dsdb-modules",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "samba-libs",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "samba-testsuite",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "samba-vfs-modules",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "smbclient",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          },
          {
            "binary_name": "winbind",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "samba",
        "purl": "pkg:deb/ubuntu/samba@2:4.3.11+dfsg-0ubuntu0.14.04.19?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2:4.3.11+dfsg-0ubuntu0.14.04.19"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2:3.6.18-1ubuntu3",
        "2:4.0.10+dfsg-4ubuntu2",
        "2:4.0.13+dfsg-1ubuntu1",
        "2:4.1.3+dfsg-2ubuntu2",
        "2:4.1.3+dfsg-2ubuntu3",
        "2:4.1.3+dfsg-2ubuntu4",
        "2:4.1.3+dfsg-2ubuntu5",
        "2:4.1.6+dfsg-1ubuntu1",
        "2:4.1.6+dfsg-1ubuntu2",
        "2:4.1.6+dfsg-1ubuntu2.14.04.1",
        "2:4.1.6+dfsg-1ubuntu2.14.04.2",
        "2:4.1.6+dfsg-1ubuntu2.14.04.3",
        "2:4.1.6+dfsg-1ubuntu2.14.04.4",
        "2:4.1.6+dfsg-1ubuntu2.14.04.5",
        "2:4.1.6+dfsg-1ubuntu2.14.04.7",
        "2:4.1.6+dfsg-1ubuntu2.14.04.8",
        "2:4.1.6+dfsg-1ubuntu2.14.04.9",
        "2:4.1.6+dfsg-1ubuntu2.14.04.11",
        "2:4.1.6+dfsg-1ubuntu2.14.04.12",
        "2:4.1.6+dfsg-1ubuntu2.14.04.13",
        "2:4.3.8+dfsg-0ubuntu0.14.04.2",
        "2:4.3.9+dfsg-0ubuntu0.14.04.1",
        "2:4.3.9+dfsg-0ubuntu0.14.04.3",
        "2:4.3.11+dfsg-0ubuntu0.14.04.1",
        "2:4.3.11+dfsg-0ubuntu0.14.04.2",
        "2:4.3.11+dfsg-0ubuntu0.14.04.3",
        "2:4.3.11+dfsg-0ubuntu0.14.04.4",
        "2:4.3.11+dfsg-0ubuntu0.14.04.6",
        "2:4.3.11+dfsg-0ubuntu0.14.04.7",
        "2:4.3.11+dfsg-0ubuntu0.14.04.8",
        "2:4.3.11+dfsg-0ubuntu0.14.04.9",
        "2:4.3.11+dfsg-0ubuntu0.14.04.10",
        "2:4.3.11+dfsg-0ubuntu0.14.04.11",
        "2:4.3.11+dfsg-0ubuntu0.14.04.12",
        "2:4.3.11+dfsg-0ubuntu0.14.04.13",
        "2:4.3.11+dfsg-0ubuntu0.14.04.14",
        "2:4.3.11+dfsg-0ubuntu0.14.04.16",
        "2:4.3.11+dfsg-0ubuntu0.14.04.17"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ctdb",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "libnss-winbind",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "libpam-winbind",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "libparse-pidl-perl",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "libsmbclient",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "libwbclient0",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "python-samba",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "registry-tools",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "samba",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "samba-common",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "samba-common-bin",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "samba-dsdb-modules",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "samba-libs",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "samba-testsuite",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "samba-vfs-modules",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "smbclient",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          },
          {
            "binary_name": "winbind",
            "binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "samba",
        "purl": "pkg:deb/ubuntu/samba@2:4.3.11+dfsg-0ubuntu0.16.04.18?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2:4.3.11+dfsg-0ubuntu0.16.04.18"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2:4.1.17+dfsg-4ubuntu2",
        "2:4.1.20+dfsg-1ubuntu1",
        "2:4.1.20+dfsg-1ubuntu2",
        "2:4.1.20+dfsg-1ubuntu3",
        "2:4.1.20+dfsg-1ubuntu5",
        "2:4.3.3+dfsg-1ubuntu1",
        "2:4.3.3+dfsg-1ubuntu2",
        "2:4.3.3+dfsg-1ubuntu3",
        "2:4.3.6+dfsg-1ubuntu1",
        "2:4.3.8+dfsg-0ubuntu1",
        "2:4.3.9+dfsg-0ubuntu0.16.04.1",
        "2:4.3.9+dfsg-0ubuntu0.16.04.2",
        "2:4.3.9+dfsg-0ubuntu0.16.04.3",
        "2:4.3.11+dfsg-0ubuntu0.16.04.1",
        "2:4.3.11+dfsg-0ubuntu0.16.04.3",
        "2:4.3.11+dfsg-0ubuntu0.16.04.5",
        "2:4.3.11+dfsg-0ubuntu0.16.04.6",
        "2:4.3.11+dfsg-0ubuntu0.16.04.7",
        "2:4.3.11+dfsg-0ubuntu0.16.04.8",
        "2:4.3.11+dfsg-0ubuntu0.16.04.9",
        "2:4.3.11+dfsg-0ubuntu0.16.04.10",
        "2:4.3.11+dfsg-0ubuntu0.16.04.11",
        "2:4.3.11+dfsg-0ubuntu0.16.04.12",
        "2:4.3.11+dfsg-0ubuntu0.16.04.13",
        "2:4.3.11+dfsg-0ubuntu0.16.04.15",
        "2:4.3.11+dfsg-0ubuntu0.16.04.16",
        "2:4.3.11+dfsg-0ubuntu0.16.04.17"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ctdb",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "libnss-winbind",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "libpam-winbind",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "libparse-pidl-perl",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "libsmbclient",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "libwbclient0",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "python-samba",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "registry-tools",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "samba",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "samba-common",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "samba-common-bin",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "samba-dsdb-modules",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "samba-libs",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "samba-testsuite",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "samba-vfs-modules",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "smbclient",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          },
          {
            "binary_name": "winbind",
            "binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "samba",
        "purl": "pkg:deb/ubuntu/samba@2:4.7.6+dfsg~ubuntu-0ubuntu2.5?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2:4.7.6+dfsg~ubuntu-0ubuntu2.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2:4.6.7+dfsg-1ubuntu3",
        "2:4.7.1+dfsg-1ubuntu1",
        "2:4.7.3+dfsg-1ubuntu1",
        "2:4.7.4+dfsg-1ubuntu1",
        "2:4.7.6+dfsg~ubuntu-0ubuntu1",
        "2:4.7.6+dfsg~ubuntu-0ubuntu2",
        "2:4.7.6+dfsg~ubuntu-0ubuntu2.2",
        "2:4.7.6+dfsg~ubuntu-0ubuntu2.4"
      ]
    }
  ],
  "aliases": [],
  "details": "Samba from version 4.0.0 and before versions 4.7.12, 4.8.7, 4.9.3 is vulnerable to a denial of service. During the processing of an LDAP search before Samba\u0027s AD DC returns the LDAP entries to the client, the entries are cached in a single memory object with a maximum size of 256MB. When this size is reached, the Samba process providing the LDAP service will follow the NULL pointer, terminating the process. There is no further vulnerability associated with this issue, merely a denial of service.",
  "id": "UBUNTU-CVE-2018-16851",
  "modified": "2026-04-22T07:38:43Z",
  "published": "2018-11-27T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2018-16851"
    },
    {
      "type": "REPORT",
      "url": "https://www.samba.org/samba/security/CVE-2018-16851.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-3827-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-3827-2"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2018-16851"
    }
  ],
  "related": [
    "USN-3827-1",
    "USN-3827-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2018-16851"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…