CVE-2019-19344
samba: Use after free during DNS zone scavenging in Samba AD DC
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 21, 2020
Updated · November 21, 2025
Description
A flaw was found in samba. An off-by-default feature to tombstone dynamically created DNS records once they have reached their expiry time contains a use-after-free flaw that allows read memory to be saved back into the database. The highest threat from this vulnerability is to system availability.
Statement
This flaw does not affect the version of samba shipped with Red Hat Enterprise Linux because there is no support for samba as Active Directory Domain Controller.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
The code in question is not run in the default configuration, so the workaround is simply to not set dns zone scavenging = yes
CVSS / CWE
CVSS 3.1 · 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-416 · Use After Free