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.
lists.opensuse.org/opensuse-security-announce/2020-01/msg00055.html
bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19344
lists.debian.org/debian-lts-announce/2023/09/msg00013.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4ACZVNMIFQGGXNJPMHAVBN3H2U65FXQY/
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GQ6U65I2K23YJC4FESW477WL55TU3PPT/
security.gentoo.org/glsa/202003-52
security.netapp.com/advisory/ntap-20200122-0001/
usn.ubuntu.com/4244-1/
www.samba.org/samba/security/CVE-2019-19344.html
www.synology.com/security/advisory/Synology_SA_20_01