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.

Categories

6.5
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 3.0 •
CVSS 2.0 •
EPSS 6.79% Top 10%
Vendor Advisory ubuntu.com Vendor Advisory ubuntu.com Vendor Advisory debian.org Vendor Advisory gentoo.org Vendor Advisory samba.org
Affected: [UNKNOWN] samba
Published at:
Updated at:

References

Link Tags
http://www.securityfocus.com/bid/106023 third party advisory vdb entry
https://usn.ubuntu.com/3827-2/ third party advisory vendor advisory
https://usn.ubuntu.com/3827-1/ third party advisory vendor advisory
https://security.netapp.com/advisory/ntap-20181127-0001/ third party advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16841 third party advisory issue tracking
https://www.debian.org/security/2018/dsa-4345 third party advisory vendor advisory
https://www.samba.org/samba/security/CVE-2018-16841.html patch vendor advisory
https://security.gentoo.org/glsa/202003-52 third party advisory vendor advisory

Frequently Asked Questions

What is the severity of CVE-2018-16841?
CVE-2018-16841 has been scored as a medium severity vulnerability.
How to fix CVE-2018-16841?
To fix CVE-2018-16841, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-16841 being actively exploited in the wild?
It is possible that CVE-2018-16841 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~7% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2018-16841?
CVE-2018-16841 affects [UNKNOWN] samba.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.