{"id":"CVE-2026-59964","summary":"uftpd: Stack-based buffer overflow in compose_path() via overlong FTP path","details":"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.","aliases":["GHSA-vqhc-mmjf-972h"],"modified":"2026-11-18T22:00:11.601416047Z","published":"2026-11-18T20:26:33.623Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59964.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59964.json"},{"type":"FIX","url":"https://github.com/troglobit/uftpd/commit/f5552a8c6a5f14691f51bef1f3373747259d7ac8"},{"type":"WEB","url":"https://github.com/troglobit/uftpd/releases/tag/v2.16"},{"type":"ADVISORY","url":"https://github.com/troglobit/uftpd/security/advisories/GHSA-vqhc-mmjf-972h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59964"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/troglobit/uftpd","events":[{"introduced":"0"},{"fixed":"768aac29d4707a34927ee5116210ffb8c235dfff"},{"fixed":"f5552a8c6a5f14691f51bef1f3373747259d7ac8"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"2.16"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"f5552a8c6a5f14691f51bef1f3373747259d7ac8"}]},{"range":[{"fixed":"768aac29d4707a34927ee5116210ffb8c235dfff"}],"source":"REFERENCES_TAG","original_tag":"v2.16"}]}}],"versions":["v2.15","v2.14","v2.13","v2.12","v2.11","v2.10","v2.9","v2.8","v2.7","v2.6","v2.5","v1.8","v1.7","v1.6","v1.5","v1.4","v1.3","v1.2","v1.1","v1.0","v0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59964.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H"}]}