{"id":"CVE-2026-59964","state":"PUBLISHED","title":"uftpd: Stack-based buffer overflow in compose_path() via overlong FTP path","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.","publishedAt":"2026-11-18T20:26:33.623Z","updatedAt":"2026-11-19T14:58:51.687Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["troglobit uftpd"],"affected":[{"vendor":"troglobit","product":"uftpd","versions":[{"version":"< 2.16","status":"affected"}]}],"references":["https://github.com/troglobit/uftpd/security/advisories/GHSA-vqhc-mmjf-972h","https://github.com/troglobit/uftpd/commit/f5552a8c6a5f14691f51bef1f3373747259d7ac8","https://github.com/troglobit/uftpd/releases/tag/v2.16"],"weaknesses":["CWE-121"],"ingestedAt":"2026-11-19T15:08:06.736Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59964.json","commit":"3e1c2cca9e60a7097242e6cc9bbbf2ca0814a597","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59964","state":"PUBLISHED","datePublished":"2026-11-18T20:26:33.623Z","dateUpdated":"2026-11-19T14:58:51.687Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-07T18:49:15.608Z"},"containers":{"cna":{"title":"uftpd: Stack-based buffer overflow in compose_path() via overlong FTP path","descriptions":[{"lang":"en","value":"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":[{"vendor":"troglobit","product":"uftpd","versions":[{"version":"< 2.16","status":"affected"}]}],"references":[{"url":"https://github.com/troglobit/uftpd/security/advisories/GHSA-vqhc-mmjf-972h","name":"https://github.com/troglobit/uftpd/security/advisories/GHSA-vqhc-mmjf-972h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/troglobit/uftpd/commit/f5552a8c6a5f14691f51bef1f3373747259d7ac8","name":"https://github.com/troglobit/uftpd/commit/f5552a8c6a5f14691f51bef1f3373747259d7ac8","tags":["x_refsource_MISC"]},{"url":"https://github.com/troglobit/uftpd/releases/tag/v2.16","name":"https://github.com/troglobit/uftpd/releases/tag/v2.16","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","lang":"en","description":"CWE-121: Stack-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-18T20:26:33.623Z"},"source":{"advisory":"GHSA-vqhc-mmjf-972h","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/troglobit/uftpd/security/advisories/GHSA-vqhc-mmjf-972h","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-19T14:58:00.509229Z","id":"CVE-2026-59964","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-19T14:58:51.687Z"}}]}}}