CVE-2026-59964
5.9medium
uftpd: Stack-based buffer overflow in compose_path() via overlong FTP path
- Severity
- 5.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.71% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
uftpd is a UNIX FTP and TFTP server. Prior to 2.16, uftpd's compose_path function in src/common.c can overflow the fixed dir[PATH_MAX] stack buffer when the server runs without chroot and prepends the configured home directory to a near-PATH_MAX 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
| Product or package | Versions | Reported by |
|---|---|---|
| troglobit uftpd | < 2.16 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59964 changed 2026-11-19 | CVE Terms of Use |
| NVD | CVE-2026-59964 changed 2026-11-19 | Public domain |