CVE-2026-59964: uftpd: Stack-based buffer overflow in compose_path() via overlong FTP path
uftpd is a UNIX FTP and TFTP server. Prior to 2.16, uftpd's composepath function in src/common.c can overflow the fixed dir[PATHMAX] stack buffer when the server runs without chroot and prepends the configured home directory to a near-PATHMAX attacker-supplied path using memmove. A logged-in FTP client, including an anonymous or guest client where enabled, can trigger the out-of-bounds write through commands such as CWD, RETR, STOR, or LIST, causing memory corruption and a reliable service crash. Remote code execution has not been demonstrated. This issue is fixed in version 2.16.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.16