CVE-2026-59964: uftpd Stack-based Buffer Overflow
Published 2026-11-18 · Updated 2026-11-19 · Source security-advisories@github.com
Not known to be exploited · medium severity — update uftpd to 2.16 or later on your normal schedule.
What to do
- Update uftpd to version 2.16 or later. Versions before 2.16 are affected.
- Until it is patched, restrict network access to uftpd and review which accounts can log in to it.
- Keep exploit mitigations (stack canaries, ASLR, DEP) enabled and avoid exposing the affected interface to untrusted input.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| uftpd | < 2.16 | 2.16 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on availability is rated high, and on integrity low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
Weakness: Stack-based Buffer Overflow
Oversized input overwrites the stack, which can crash the software or let an attacker take control of execution.
Classified as CWE-121.
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/troglobit/uftpd/commit/f5552a8c6a5f14691f51bef1f3373747259d7ac8
- Patchhttps://github.com/troglobit/uftpd/releases/tag/v2.16
- Advisoryhttps://github.com/troglobit/uftpd/security/advisories/GHSA-vqhc-mmjf-972h
- Advisoryhttps://github.com/troglobit/uftpd/security/advisories/GHSA-vqhc-mmjf-972h