{"id":"CVE-2018-16841","details":"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.","modified":"2026-07-08T05:52:20.883326575Z","published":"2018-11-28T14:29:00.347Z","related":["SUSE-SU-2018:4066-1","openSUSE-SU-2024:11365-1"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"12.04"},{"last_affected":"12.04"},{"introduced":"14.04"},{"last_affected":"14.04"},{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"18.04"},{"last_affected":"18.04"},{"introduced":"18.10"},{"last_affected":"18.10"}],"source":"CPE_STRING","vendor_product":"canonical:ubuntu_linux","cpes":["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:*:*:*:*:*:*:*"]},{"extracted_events":[{"introduced":"9.0"},{"last_affected":"9.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"]}]},"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/106023"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202003-52"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20181127-0001/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3827-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3827-2/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4345"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16841"},{"type":"FIX","url":"https://www.samba.org/samba/security/CVE-2018-16841.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/samba-team/samba","events":[{"introduced":"b85f6018c803fb9aad82820d4b5505179ec5bac3"},{"fixed":"b7d190f89d7674cf58a02486fa9887d393918611"},{"introduced":"5a9d09fee44052e18ce241ec28f78498d2e20d73"},{"fixed":"cd870beb978a334b948c6992059540c864dd2540"},{"introduced":"4fc4ae2924aaa2fc184b7385069274526fa8a4c2"},{"fixed":"40c057c900a9367e8020c943d29547ea8942212f"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.3.0"},{"fixed":"4.7.12"},{"introduced":"4.8.0"},{"fixed":"4.8.7"},{"introduced":"4.9.0"},{"fixed":"4.9.3"}]}}],"versions":["samba-4.8.6","samba-4.9.2","ldb-1.4.3","samba-4.9.1","samba-4.9.0","samba-4.8.5","ldb-1.3.6","samba-4.8.3","ldb-1.3.4","samba-4.8.2","ldb-1.3.3","samba-4.8.1","samba-4.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16841.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}