# CVE-2026-59964: uftpd: Stack-based buffer overflow in compose_path() via overlong FTP path

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-18T20:26:33.623Z
- Modified: 2026-11-19T15:17:41.463Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- troglobit uftpd: < 2.16

## References

- <https://github.com/troglobit/uftpd/security/advisories/GHSA-vqhc-mmjf-972h> (exploit)
- <https://github.com/troglobit/uftpd/commit/f5552a8c6a5f14691f51bef1f3373747259d7ac8>
- <https://github.com/troglobit/uftpd/releases/tag/v2.16>

## Sources

- CVE List: [CVE-2026-59964](https://www.cve.org/CVERecord?id=CVE-2026-59964), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-59964](https://nvd.nist.gov/vuln/detail/CVE-2026-59964), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-59964 · Whole record: https://cve.day/CVE-2026-59964.json · Rebuilt by cve.day 2026-11-25T22:59:51.911Z
