xorg-x11-server before 1.19.5 was missing extra length validation in ProcEstablishConnection function allowing malicious X client to cause X server to crash or possibly execute arbitrary code.
https://www.debian.org/security/2017/dsa-4000
https://security.gentoo.org/glsa/201711-05
https://lists.debian.org/debian-lts-announce/2017/11/msg00032.html
https://cgit.freedesktop.org/xorg/xserver/commit/?id=b747da5e25be944337a9cd1415506fc06b70aa81