CVE-2026-59964
Medium 5.9No known exploitationFix status unknownuftpd: Stack-based buffer overflow in compose_path() via overlong FTP path
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 42% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-121
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| troglobit | uftpd | < 2.16 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- https://github.com/troglobit/uftpd/commit/f5552a8c6a5f14691f51bef1f3373747259d7ac8 (opens in a new tab)x_refsource_misc
- https://github.com/troglobit/uftpd/releases/tag/v2.16 (opens in a new tab)x_refsource_misc
- https://github.com/troglobit/uftpd/security/advisories/GHSA-vqhc-mmjf-972h (opens in a new tab)x_refsource_confirm