It was discovered that libXdmcp before 1.1.2 including used weak entropy to generate session keys. On a multi-user system using xdmcp, a local attacker could potentially use information available from the process list to brute force the key, allowing them to hijack other users' sessions.
https://www.x41-dsec.de/lab/advisories/x41-2017-001-xorg/
https://security.gentoo.org/glsa/201704-03
https://lists.debian.org/debian-lts-announce/2019/11/msg00024.html
https://cgit.freedesktop.org/xorg/lib/libXdmcp/commit/?id=0554324ec6bbc2071f5d1f8ad211a1643e29eb1f
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2625
https://access.redhat.com/errata/RHSA-2017:1865