There is a use-after-free issue in all samba 4.9.x versions before 4.9.18, all samba 4.10.x versions before 4.10.12 and all samba 4.11.x versions before 4.11.5, essentially due to a call to realloc() while other local variables still point at the original buffer.
https://www.synology.com/security/advisory/Synology_SA_20_01
https://www.samba.org/samba/security/CVE-2019-19344.html
https://usn.ubuntu.com/4244-1/
https://security.netapp.com/advisory/ntap-20200122-0001/
https://security.gentoo.org/glsa/202003-52
https://lists.debian.org/debian-lts-announce/2023/09/msg00013.html
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19344
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00055.html