Live threats

All CVEs / Samba

CVE-2018-16841Samba

Medium 6.5

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
Weakness (CWE)
CWE-416, CWE-415
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Samba.

Affected products (CPE)

VendorProductVersions
sambasamba≥ 4.3.0 < 4.7.12
sambasamba≥ 4.8.0 < 4.8.7
sambasamba≥ 4.9.0 < 4.9.3
canonicalubuntu_linux12.04
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux18.10
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.