Skip to content
Heist/ feed
Back to feed
MediumFix available

samba — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2018-16841

Samba from version 4.3.0 and before versions 4.7.12, 4.8.7 and 4.9.3 are vulnerable to a denial of service. When configured to accept smart-card authentication, Samba's KDC will call talloc_free() twice on the same memory if the principal in a validly signed certificate does not match the principal in the AS-REQ. This is only possible after authentication with a trusted certificate. talloc is robust against further corruption from a double-free with talloc_free() and directly calls abort(), terminating the KDC process.

Products
samba
Affected versions
Not specified
Fixed versions
2:4.9.2+dfsg-2
CVEs
CVE-2018-16841
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:08 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-16841

core-osv · Original source

Published 28 Nov 2018, 14:29 UTC

Samba from version 4.3.0 and before versions 4.7.12, 4.8.7 and 4.9.3 are vulnerable to a denial of service. When configured to accept smart-card authentication, Samba's KDC will call talloc_free() twice on the same memory if the principal in a validly signed certificate does not match the principal in the AS-REQ. This is only possible after authentication with a trusted certificate. talloc is robust against further corruption from a double-free with talloc_free() and directly calls abort(), terminating the KDC process.

osv:DEBIAN-CVE-2018-16841

samba

Fixed versions: 2:4.9.2+dfsg-2

samba

Fixed versions: 2:4.9.2+dfsg-2

samba

Fixed versions: 2:4.9.2+dfsg-2

Complete source record
{
  "id": "c84651c24efa2df8cabe395bc8753dedb2f328632f58cd335e824c8b44bfcc52",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-16841",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2018-16841",
    "summary": "Samba from version 4.3.0 and before versions 4.7.12, 4.8.7 and 4.9.3 are vulnerable to a denial of service. When configured to accept smart-card authentication, Samba's KDC will call talloc_free() twice on the same memory if the principal in a validly signed certificate does not match the principal in the AS-REQ. This is only possible after authentication with a trusted certificate. talloc is robust against further corruption from a double-free with talloc_free() and directly calls abort(), terminating the KDC process.",
    "evidence": "osv:DEBIAN-CVE-2018-16841",
    "products": [
      {
        "name": {
          "value": "samba",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:4.9.2+dfsg-2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "samba",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:4.9.2+dfsg-2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "samba",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:4.9.2+dfsg-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2018-16841",
      "aliases": [
        "DEBIAN-CVE-2018-16841"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:4.9.2+dfsg-2"
                }
              ]
            }
          ],
          "package": {
            "name": "samba",
            "purl": "pkg:deb/debian/samba?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-16841.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:4.9.2+dfsg-2"
                }
              ]
            }
          ],
          "package": {
            "name": "samba",
            "purl": "pkg:deb/debian/samba?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-16841.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:4.9.2+dfsg-2"
                }
              ]
            }
          ],
          "package": {
            "name": "samba",
            "purl": "pkg:deb/debian/samba?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-16841.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:01.111168617Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-16841"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-16841"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-16841",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 420123,
  "published_at": "2018-11-28T14:29:00.347+00:00"
}