Use after free in [UNKNOWN] samba
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-416 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| [UNKNOWN] | samba | 4.7.12; 4.8.7; 4.9.3 | — | No fix listed | CNA |
- samba Vendor[UNKNOWN] Affected 4.7.12; 4.8.7; 4.9.3 Fixed in — No fix listed CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | 4.3.0 to before 4.7.12; 4.8.0 to before 4.8.7; 4.9.0 to before 4.9.3 | Vulnerable | Samba |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* | 18.10 | Vulnerable | Canonical |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
- cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* Versions 4.3.0 to before 4.7.12; 4.8.0 to before 4.8.7; 4.9.0 to before 4.9.3 Vulnerable ·Samba
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* Versions 18.10 Vulnerable ·Canonical
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
Remediation
No fixed version listed by the sources yet.
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
[UNKNOWN] samba — USN-3827-1
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2018-10494 Uncontrolled resource consumption in [UNKNOWN] sambaPriority LOW 37
- TI-2018-12061 NULL pointer dereference in [UNKNOWN] sambaPriority LOW 35
- Advisory ·
[UNKNOWN] samba — USN-3827-2
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2018-10494 Uncontrolled resource consumption in [UNKNOWN] sambaPriority LOW 37
- TI-2018-12061 NULL pointer dereference in [UNKNOWN] sambaPriority LOW 35
Show 1 more group
- Advisory ·
[UNKNOWN] samba — DSA-4345
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2018-10494 Uncontrolled resource consumption in [UNKNOWN] sambaPriority LOW 37
- TI-2018-12061 NULL pointer dereference in [UNKNOWN] sambaPriority LOW 35
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 5 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Storage 3
- Red Hat Virtualization 4
Timeline
- 2026-10-02 Threatist record created from CVE-2018-16841
- 2026-10-03 Alias added: GHSA-q3v8-mj9m-2wq4
References
Sources
- CVE-2018-16841 · CVE Program
- CVE-2018-16841 · NVD
- FIRST EPSS
- GHSA-q3v8-mj9m-2wq4 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-16841 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences