Read the docs

Stack-based buffer overflow in uftpd FTP server path handling

Priority MEDIUM 60CWE-121Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · Low · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

uftpd before 2.16, a UNIX FTP and TFTP server, has a stack-based buffer overflow in compose_path (CWE-121). When the server runs without chroot, the function can write past a fixed stack buffer while prepending the home directory to a near-maximum-length path. A logged-in FTP client, including anonymous or guest users where enabled, can corrupt memory and crash the service. Remote code execution has not been demonstrated.

Written with Claude Haiku 5.5 from the sources below · 2026-11-19

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00632 44th percentileScored 2026-11-30
Fix Fixed uftpd (troglobit): 2.16

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
troglobituftpdbefore 2.162.16Patch availableCNA
  • uftpd Vendortroglobit Affected before 2.16 Fixed in 2.16 Patch available CNA

Remediation

Update uftpd to version 2.16, which fixes this issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-19

  • Fix · CNA uftpd (troglobit) Fixed in 2.16

Timeline

  1. 2026-11-18 Threatist record created from CVE-2026-59964
  2. 2026-11-19 CISA SSVC decision points changed
  3. 2026-11-21 EPSS moved to the 50th–90th percentile
  4. 2026-11-25 EPSS moved to the below the 50th percentile

References

  • TI-2020-19317 Redir 3.3 - Denial of Service CVSS 4.0HIGH 8.7
  • TI-2026-94230 Out-of-bounds read in mini-snmpd SNMP request parser CVSS 3.1HIGH 8.2
  • TI-2025-21291 Finit bundled getty can bypass /bin/login CVSS 3.1HIGH 8.6
  • TI-2020-13817 There are multiple unauthenticated directory traversal vulnerabilities in different FTP… CVSS 3.1CRITICAL 9.8
  • TI-2022-24152 uev (aka libuev) before 2.4.1 has a buffer overflow in epoll_wait if maxevents is a large number. CVSS 3.1CRITICAL 9.8
  • TI-2020-13816 An unauthenticated stack-based buffer overflow vulnerability in common.c's handle_PORT in… CVSS 3.1CRITICAL 9.8
See all 11 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences