# CVE-2018-16841

- Priority: **Routine**
- Reason: Not severe (CVSS 5.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-11-28 · Modified: 2024-08-05
- Aliases: ALPINE-CVE-2018-16841, UBUNTU-CVE-2018-16841, DEBIAN-CVE-2018-16841
- Record: https://cvemate.com/vulnerability/CVE-2018-16841 · JSON: https://cvemate.com/vulnerability/CVE-2018-16841/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 4.586%, percentile 91.885%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine samba (Alpine Linux): ≥ 4.3.0, \< 4.8.7-r0 \| ≥ 4.3.0, \< 4.8.8-r0 \| ≥ 4.8.0, \< 4.8.7-r0 \| ≥ 4.3.0, \< 4.6.16-r2 \| ≥ 4.3.0, \< 4.7.6-r2 \| ≥ 4.8.0, \< 4.8.8-r0
- canonical ubuntu\_linux: 12.04 \| 14.04 \| 16.04 \| 18.04 \| 18.10
- debian samba (Debian): \< 2:4.9.2+dfsg-2
- ubuntu samba (Ubuntu): \< 2:4.3.11+dfsg-0ubuntu0.14.04.19 \| \< 2:4.3.11+dfsg-0ubuntu0.16.04.18 \| \< 2:4.7.6+dfsg~ubuntu-0ubuntu2.5
- debian debian\_linux: 9.0
- samba samba: ≥ 4.3.0, \< 4.7.12 \| ≥ 4.8.0, \< 4.8.7 \| ≥ 4.9.0, \< 4.9.3
- \[unknown\] samba: 4.7.12 \| 4.8.7 \| 4.9.3

## References

- <http://www.securityfocus.com/bid/106023>
- <https://usn.ubuntu.com/3827-2/>
- <https://usn.ubuntu.com/3827-1/>
- <https://security.netapp.com/advisory/ntap-20181127-0001/>
- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16841>
- <https://www.debian.org/security/2018/dsa-4345>
- <https://www.samba.org/samba/security/CVE-2018-16841.html>
- <https://security.gentoo.org/glsa/202003-52>
- <https://security.alpinelinux.org/vuln/CVE-2018-16841>
- <https://ubuntu.com/security/CVE-2018-16841>
- <https://ubuntu.com/security/notices/USN-3827-1>
- <https://ubuntu.com/security/notices/USN-3827-2>
- <https://www.cve.org/CVERecord?id=CVE-2018-16841>
- <https://security-tracker.debian.org/tracker/CVE-2018-16841>

---

Data as of 2026-12-05T07:48:50.387Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
