CVE-2018-16841Samba
Medium 6.5
Follow: this CVE · Samba · Samba We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 4.6% probability of exploitation in 30 days · percentile 92
- Auth required
- Yes
- Published
- Nov 28, 2018
- Updated
- Jun 17, 2026
- Category
- Server · Linux
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Samba.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| samba | samba | ≥ 4.3.0 < 4.7.12 |
| samba | samba | ≥ 4.8.0 < 4.8.7 |
| samba | samba | ≥ 4.9.0 < 4.9.3 |
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 18.10 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.samba.org Patch Vendor Advisory