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.
Severity (CVSS)
| Base score | 5.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H |
| Provided by | CNA |
Weaknesses
- CWE-121 — CWE-121: Stack-based Buffer Overflow
Affected products
| Vendor | Product | Versions |
|---|---|---|
| troglobit | uftpd | < 2.16 [affected] |
References
- https://github.com/troglobit/uftpd/security/advisories/GHSA-vqhc-mmjf-972h (x_refsource_CONFIRM)
- https://github.com/troglobit/uftpd/commit/f5552a8c6a5f14691f51bef1f3373747259d7ac8 (x_refsource_MISC)
- https://github.com/troglobit/uftpd/releases/tag/v2.16 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 19 Nov 2026 08:05 UTC.