CVE-2018-16841: Double Free

Published Nov 27, 2018
·
Updated

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 tallocfree() 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 tallocfree() and directly calls abort(), terminating the KDC process.

Affected Software

15 affected componentsFixes available
ubuntu/samba<2:4.7.6+dfsg~ubuntu-0ubuntu2.5
2:4.7.6+dfsg~ubuntu-0ubuntu2.5
ubuntu/samba<2:4.8.4+dfsg-2ubuntu2.1
2:4.8.4+dfsg-2ubuntu2.1
ubuntu/samba<2:4.3.11+dfsg-0ubuntu0.14.04.19
2:4.3.11+dfsg-0ubuntu0.14.04.19
ubuntu/samba<4.7.12, <4.8.7, <4.9.3
4.7.124.8.74.9.3
ubuntu/samba<2:4.3.11+dfsg-0ubuntu0.16.04.18
2:4.3.11+dfsg-0ubuntu0.16.04.18
debian/samba
2:4.13.13+dfsg-1~deb11u62:4.17.12+dfsg-0+deb12u12:4.21.0~rc1+really4.20.4+dfsg-1
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

Event History

Nov 27, 2018
CVE Published
via Ubuntu·12:00 AM
Nov 28, 2018
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
DescriptionSeverityWeakness
Jan 11, 2024
Data Sourced
via Launchpad·10:54 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2018-16841?

CVE-2018-16841 is classified as a denial of service vulnerability that can disrupt the normal operation of affected Samba versions.

2

How do I fix CVE-2018-16841?

To mitigate CVE-2018-16841, upgrade Samba to version 4.7.12, 4.8.7, or 4.9.3, or apply the recommended patches from your distribution.

3

Which Samba versions are affected by CVE-2018-16841?

CVE-2018-16841 affects Samba versions prior to 4.7.12, 4.8.7, and 4.9.3, including all versions before 4.3.0.

4

Is CVE-2018-16841 exploitable remotely?

Yes, CVE-2018-16841 can be exploited remotely if Samba is configured to accept smart-card authentication.

5

What are the potential impacts of CVE-2018-16841?

The impact of CVE-2018-16841 includes potential service disruption due to the denial of service caused by the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203