CVEfocus › CVE database › CVE-2018-16841

CVE-2018-16841

CVSS 5.7 MediumEPSS 4.6% (higher than 92% of CVEs)Published 2018-11-28Updated 2024-08-05Assigner: redhat

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.

CWE-416

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed
78Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04sambaFixed2:4.7.6+dfsg~ubuntu-0ubuntu2.5UBUNTU-CVE-2018-16841
Ubuntu 16.04sambaFixed2:4.3.11+dfsg-0ubuntu0.16.04.18UBUNTU-CVE-2018-16841
Ubuntu 14.04sambaFixed2:4.3.11+dfsg-0ubuntu0.14.04.19UBUNTU-CVE-2018-16841
Debian 14sambaFixed2:4.9.2+dfsg-2DEBIAN-CVE-2018-16841
Debian 13sambaFixed2:4.9.2+dfsg-2DEBIAN-CVE-2018-16841
Debian 12sambaFixed2:4.9.2+dfsg-2DEBIAN-CVE-2018-16841
Red Hat Enterprise Linux 8ctdbNot affected
Red Hat Enterprise Linux 8ctdb-testsNot affected
Red Hat Enterprise Linux 8libnetapiNot affected
Red Hat Enterprise Linux 8libnetapi-develNot affected
Red Hat Enterprise Linux 8libsmbclientNot affected
Red Hat Enterprise Linux 8libsmbclient-develNot affected
Red Hat Enterprise Linux 8libwbclientNot affected
Red Hat Enterprise Linux 8libwbclient-develNot affected
Red Hat Enterprise Linux 8python3-sambaNot affected
Red Hat Enterprise Linux 8python3-samba-dcNot affected
Red Hat Enterprise Linux 8python3-samba-develNot affected
Red Hat Enterprise Linux 8python3-samba-testNot affected
Red Hat Enterprise Linux 8sambaNot affected
Red Hat Enterprise Linux 8samba-clientNot affected
Red Hat Enterprise Linux 8samba-client-libsNot affected
Red Hat Enterprise Linux 8samba-commonNot affected
Red Hat Enterprise Linux 8samba-common-libsNot affected
Red Hat Enterprise Linux 8samba-common-toolsNot affected
Red Hat Enterprise Linux 8samba-dc-libsNot affected
Red Hat Enterprise Linux 8samba-dcerpcNot affected
Red Hat Enterprise Linux 8samba-develNot affected
Red Hat Enterprise Linux 8samba-krb5-printingNot affected
Red Hat Enterprise Linux 8samba-ldb-ldap-modulesNot affected
Red Hat Enterprise Linux 8samba-libsNot affected
Red Hat Enterprise Linux 8samba-pidlNot affected
Red Hat Enterprise Linux 8samba-testNot affected
Red Hat Enterprise Linux 8samba-test-libsNot affected
Red Hat Enterprise Linux 8samba-toolsNot affected
Red Hat Enterprise Linux 8samba-usersharesNot affected
Red Hat Enterprise Linux 8samba-vfs-iouringNot affected
Red Hat Enterprise Linux 8samba-winbindNot affected
Red Hat Enterprise Linux 8samba-winbind-clientsNot affected
Red Hat Enterprise Linux 8samba-winbind-krb5-locatorNot affected
Red Hat Enterprise Linux 8samba-winbind-modulesNot affected
Red Hat Enterprise Linux 8samba-winexeNot affected
Red Hat Enterprise Linux 7ctdbNot affected
Red Hat Enterprise Linux 7ctdb-develNot affected
Red Hat Enterprise Linux 7ctdb-testsNot affected
Red Hat Enterprise Linux 7libsmbclientNot affected
Red Hat Enterprise Linux 7libsmbclient-develNot affected
Red Hat Enterprise Linux 7libwbclientNot affected
Red Hat Enterprise Linux 7libwbclient-develNot affected
Red Hat Enterprise Linux 7sambaNot affected
Red Hat Enterprise Linux 7samba-clientNot affected
Red Hat Enterprise Linux 7samba-client-libsNot affected
Red Hat Enterprise Linux 7samba-commonNot affected
Red Hat Enterprise Linux 7samba-common-libsNot affected
Red Hat Enterprise Linux 7samba-common-toolsNot affected
Red Hat Enterprise Linux 7samba-dcNot affected
Red Hat Enterprise Linux 7samba-dc-libsNot affected
Red Hat Enterprise Linux 7samba-develNot affected
Red Hat Enterprise Linux 7samba-krb5-printingNot affected
Red Hat Enterprise Linux 7samba-libsNot affected
Red Hat Enterprise Linux 7samba-pidlNot affected
Red Hat Enterprise Linux 7samba-pythonNot affected
Red Hat Enterprise Linux 7samba-python-testNot affected
Red Hat Enterprise Linux 7samba-testNot affected
Red Hat Enterprise Linux 7samba-test-develNot affected
Red Hat Enterprise Linux 7samba-test-libsNot affected
Red Hat Enterprise Linux 7samba-vfs-glusterfsNot affected
Red Hat Enterprise Linux 7samba-winbindNot affected
Red Hat Enterprise Linux 7samba-winbind-clientsNot affected
Red Hat Enterprise Linux 7samba-winbind-krb5-locatorNot affected
Red Hat Enterprise Linux 7samba-winbind-modulesNot affected
Red Hat Enterprise Linux 6samba4Not affected
Red Hat Enterprise Linux 6samba4-clientNot affected
Red Hat Enterprise Linux 6samba4-commonNot affected
Red Hat Enterprise Linux 6samba4-dcNot affected
Red Hat Enterprise Linux 6samba4-dc-libsNot affected
Red Hat Enterprise Linux 6samba4-develNot affected
Red Hat Enterprise Linux 6samba4-libsNot affected
Red Hat Enterprise Linux 6samba4-pidlNot affected
Red Hat Enterprise Linux 6samba4-pythonNot affected
Red Hat Enterprise Linux 6samba4-swatNot affected
Red Hat Enterprise Linux 6samba4-testNot affected
Red Hat Enterprise Linux 6samba4-winbindNot affected
Red Hat Enterprise Linux 6samba4-winbind-clientsNot affected
Red Hat Enterprise Linux 6samba4-winbind-krb5-locatorNot affected
Alpine Linux 3.24sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.23sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.22sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.21sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.20sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.19sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.18sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.17sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.16sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.15sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.14sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.13sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.12sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.11sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.10sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.9sambaFixed4.8.7-r0ALPINE-CVE-2018-16841
Alpine Linux 3.8sambaFixed4.8.8-r0ALPINE-CVE-2018-16841
Alpine Linux 3.7sambaFixed4.7.6-r2ALPINE-CVE-2018-16841
Alpine Linux 3.6sambaFixed4.6.16-r2ALPINE-CVE-2018-16841

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.