Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to uftpd (anonymous/guest accepted)
-
DeliverySend CWD/RETR/STOR/LIST with ~PATH_MAX path
-
Exploitmemmove writes past dir[PATH_MAX] in compose_path
-
ExecutionStack memory corruption
-
ImpactReliable daemon crash (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires uftpd to be running WITHOUT chroot - which occurs whenever the server is not started as root, since uftpd only chroots when running as root (a common configuration per the advisory). The attacker must be a logged-in FTP client, but anonymous or guest login is sufficient where enabled. The trigger is an FTP command (CWD, RETR, STOR, or LIST) carrying a near-PATH_MAX (~4096-byte) path argument so that strlen(dir) approaches PATH_MAX-1 before the home-directory memmove. Limiting factors: instances started as root (which chroot) do not reach the vulnerable non-chroot branch; a successful login is required (though anonymous access removes this barrier where configured); and only versions prior to 2.16 are affected. |
| Impact | Signals point to a genuine but bounded medium-severity denial-of-service issue, not a top-tier emergency. The provided CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H, score 5.9) captures a remote, post-authentication flaw with high availability impact and no confidentiality impact; the vuln.today decision label is 'this_month' (not act_now/emergency). No EPSS score and no CISA KEV entry are present in the input, so there is no indication of active exploitation. A public PoC reference exists in the GHSA advisory (an AddressSanitizer reproducer, poc_uftpd.c, that triggers a stack-buffer-overflow WRITE); it is not provided here as a 'confirmed working exploit' field, so treat it as a verified crash reproducer rather than a weaponized RCE exploit. The most important caveat: the advisory and source evidence state remote code execution was NOT demonstrated and is considered unlikely because the overflow length is bounded by strlen(home) and the written content is the shifted path - so the realistic impact is a reliable crash/DoS. Exploitation also depends on a deployment condition (uftpd running without chroot, i.e. not started as root), which the advisory notes is common. Net: a real priority to patch within normal cycles for exposed non-root uftpd instances, but the 'RCE' framing in the tags overstates the demonstrated impact. |
| Exploit ScenarioDerived | An attacker with any FTP login - including anonymous or guest where enabled - connects to a uftpd instance (< 2.16) running without chroot and sends an FTP command such as CWD with a near-PATH_MAX path argument (~4096 bytes). In compose_path(), the non-chroot branch's memmove shifts the path to prepend the home directory and writes past the end of the dir[PATH_MAX] stack buffer, corrupting the stack and reliably crashing the daemon. A verified AddressSanitizer reproducer (poc_uftpd.c) is attached to the GHSA advisory; RCE was not demonstrated and is considered unlikely. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Stack-based buffer overflow in uftpd before 2.16 lets an authenticated FTP client (anonymous or guest login is enough where enabled) push a near-PATH_MAX path through commands such as CWD, RETR, STOR or LIST and write past a PATH_MAX stack buffer, reliably crashing the daemon. The flaw is only reachable when uftpd runs without chroot, which is the case whenever the daemon is not started as root; the shifted home-directory memmove then runs off the end of dir[]. Remote code execution was not demonstrated, the issue is not listed in CISA KEV, and a public PoC reference exists but is not verified as working exploit code against a deployed server.
RemediationAI
Upgrade to uftpd 2.16, which contains the compose_path() bounds check in commit f5552a8c6a5f14691f51bef1f3373747259d7ac8 and is published at https://github.com/troglobit/uftpd/releases/tag/v2.16; deploy the tagged release rather than cherry-picking the commit. The vendor advisory at https://github.com/troglobit/uftpd/security/advisories/GHSA-vqhc-mmjf-972h documents the issue and the fix. If the upgrade cannot be applied immediately, the vulnerable branch is skipped when the daemon runs as root and chroots, since chrooted is 0 only for non-root starts - but that trades the overflow for running the FTP service with root privileges and is only a stopgap. Disabling anonymous and guest logins removes the easiest route to the authenticated session the attack requires, at the cost of blocking unauthenticated access and leaving valid credentialed attackers unaffected. Neither workaround repairs the out-of-bounds write, so installing 2.16 is the complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
compose_path() in src/common.c builds an absolute path in a fixed char dir[PATH_MAX] stack buffer: it copies ctrl->cwd with strlcpy(), appends the client-supplied path with strlcat() (both truncating at PATH_MAX-1), and then, in the non-chroot branch, prepends the configured home directory using memmove(dir + len, dir, strlen(dir) + 1) with len = strlen(home). There is no check that len + strlen(dir) + 1 fits within sizeof(dir), so a path argument close to PATH_MAX makes the memmove write up to strlen(home) bytes beyond the end of dir[] - a stack out-of-bounds write (CWE-121, also described as CWE-787). The chrooted flag is 0 whenever uftpd was not started as root, since the daemon only chroots when running as root, so the vulnerable branch is reached in that common configuration. The overflow length is bounded by the home-directory prefix length and the bytes written are the shifted path itself, which the advisory cites as the reason remote code execution was not demonstrated; the practical outcome is memory corruption and a reliable service crash. The fix in 2.16 clamps len to sizeof(dir) - 1 and truncates dir[] when the combined prefix and path would not fit.
Know when Uftpd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
Remote and post-login (anonymous accepted) gives AV:N/PR:L; the overflow is triggered by a simple overlong path in the common non-root config, so AC:L; impact is a reliable crash only (RCE not demonstrated), so C:N/I:N/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
There are multiple unauthenticated directory traversal vulnerabilities in different FTP commands in uftpd FTP server ver
In uftpd before 2.12, handle_CWD in ftpcmd.c mishandled the path provided by the user, causing a NULL pointer dereferenc
In uftpd before 2.11, it is possible for an unauthenticated user to perform a directory traversal attack using multiple
An unauthenticated stack-based buffer overflow vulnerability in common.c's handle_PORT in uftpd FTP server versions 2.10
In uftpd before 2.11, there is a buffer overflow vulnerability in handle_PORT in ftpcmd.c that is caused by a buffer tha
EUVD-2026-129190
NVD
CVE.org
EPSS
GitHub
Exploit-DB