Vulnerabilities · 2018 · Samba
CVE-2018-16841
Samba vulnerability
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.
Affected products
Samba, Ubuntu Linux, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Samba runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.samba.org/samba/security/CVE-2018-16841.html · Patch
- www.securityfocus.com/bid/106023 · Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16841 · Third Party Advisory
- security.gentoo.org/glsa/202003-52 · Third Party Advisory
- security.netapp.com/advisory/ntap-20181127-0001/ · Third Party Advisory
- usn.ubuntu.com/3827-1/ · Third Party Advisory
- usn.ubuntu.com/3827-2/ · Third Party Advisory
- www.debian.org/security/2018/dsa-4345 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-16841
- cve.org/CVERecord?id=CVE-2018-16841
More vulnerabilities in Samba products
CVE-2025-0620CVE-2024-12088CVE-2024-12087CVE-2024-12086CVE-2024-12085CVE-2024-12084CVE-2023-42670CVE-2023-42669All 234
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.