Medium severity6.5NVD Advisory· Published Nov 28, 2018· Updated Jun 17, 2026
CVE-2018-16841
CVE-2018-16841
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
13cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*range: >=4.3.0,<4.7.12
- (no CPE)range: 4.3.0 - 4.7.12, 4.8.7, 4.9.3
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*+ 4 more
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
- osv-coords4 versionspkg:rpm/suse/samba&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015pkg:rpm/suse/samba&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015pkg:rpm/suse/samba&distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015pkg:rpm/opensuse/samba&distro=openSUSE%20Tumbleweed
< 4.7.11+git.140.6bd0e5b30d8-4.21.1+ 3 more
- (no CPE)range: < 4.7.11+git.140.6bd0e5b30d8-4.21.1
- (no CPE)range: < 4.7.11+git.140.6bd0e5b30d8-4.21.1
- (no CPE)range: < 4.7.11+git.140.6bd0e5b30d8-4.21.1
- (no CPE)range: < 4.14.6+git.182.2205d5224e3-1.1
Patches
Vulnerability mechanics
References
8- www.samba.org/samba/security/CVE-2018-16841.htmlnvdPatchVendor Advisory
- www.securityfocus.com/bid/106023nvdThird Party AdvisoryVDB Entry
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party Advisory
- security.gentoo.org/glsa/202003-52nvdThird Party Advisory
- security.netapp.com/advisory/ntap-20181127-0001/nvdThird Party Advisory
- usn.ubuntu.com/3827-1/nvdThird Party Advisory
- usn.ubuntu.com/3827-2/nvdThird Party Advisory
- www.debian.org/security/2018/dsa-4345nvdThird Party Advisory
News mentions
0No linked articles in our index yet.