In FreeRDP before version 2.1.2, there is a use-after-free in gdi_SelectObject. All FreeRDP clients using compatibility mode with /relax-order-checks are affected. This is fixed in version 2.1.2.
lists.opensuse.org/opensuse-security-announce/2020-07/msg00080.html
www.freerdp.com/2020/06/22/2_1_2-released
github.com/FreeRDP/FreeRDP/commit/6d86e20e1e7caaab4f0c7f89e36d32914dbccc52
github.com/FreeRDP/FreeRDP/security/advisories/GHSA-gwcq-hpq2-m74g
lists.debian.org/debian-lts-announce/2023/10/msg00008.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6Y35HBHG2INICLSGCIKNAR7GCXEHQACQ/
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XOZLH35OJWIQLM7FYDXAP2EAUBDXE76V/
usn.ubuntu.com/4481-1/