Multiple buffer overflow vulnerabilities exist in xrdp which can be leveraged to execute arbitrary code.
You can download this advisory from the following link: https://packetstormsecurity.com/files/download/72486/VA_VD_87_08_XRDP.pdf
Source: https://packetstormsecurity.com/files/72486/VA_VD_87_08_XRDP.pdf.html