CVE-2026-59964
Received Received - Intake

uftpd Remote Stack Buffer Overflow Without chroot

Vulnerability report for CVE-2026-59964, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-18

Last updated on: 2026-11-18

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-18
Last Modified
2026-11-18
Generated
2026-11-19
AI Q&A
2026-11-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
uftpd uftpd to 2.16 (inc)
troglobit uftpd to 2.16 (exc)
troglobit uftpd 2.16

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-121 A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-59964 is a stack-based buffer overflow in uftpd, a UNIX FTP/TFTP server. When running without chroot, the compose_path function in src/common.c can overflow a fixed PATH_MAX stack buffer if an attacker provides a near-PATH_MAX path. This happens when the server prepends the home directory to the path without proper length validation. Exploiting this requires authentication, including anonymous or guest access, and can be triggered via FTP commands like CWD, RETR, STOR, or LIST.

Detection Guidance

Check the version of uftpd running on your system. If it is version 2.15 or earlier, the system is vulnerable. Run 'uftpd --version' or check package managers like apt or yum for installed versions.

Impact Analysis

This vulnerability can cause a denial of service by crashing the uftpd service when an attacker sends a crafted FTP command with a long path. While remote code execution is considered unlikely, the crash could disrupt FTP/TFTP services, leading to interrupted file transfers or server unavailability. Systems running uftpd versions 2.15 or earlier without chroot are affected.

Compliance Impact

This vulnerability primarily causes denial of service through service crashes due to memory corruption, which does not directly impact data confidentiality or integrity. However, it could indirectly affect compliance by disrupting availability of FTP services handling sensitive data under GDPR or HIPAA if exploited.

Mitigation Strategies

Upgrade uftpd to version 2.16 or later immediately. If upgrading is not possible, disable the FTP service or restrict access to trusted users only. Ensure chroot is enabled to limit path exposure.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59964. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...