Off-by-one buffer overflow in _xlate_ascii_write() in ProFTPD 1.2.7 through 1.2.9rc2p allows local users to gain privileges via a 1024 byte RETR command.
https://exchange.xforce.ibmcloud.com/vulnerabilities/15387
https://euvd.enisa.europa.eu/vulnerability/EUVD-2004-0346