Read the docs
TI-2020-04260 Aliases CVE-2020-5204GHSA-4g9j-24m6-cjw4

Buffer overflow vulnerability in uftpd

Priority MEDIUM 40CWE-121Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-121 and the CVSS impact.

Summary

In uftpd before 2.11, there is a buffer overflow vulnerability in handle_PORT in ftpcmd.c that is caused by a buffer that is 16 bytes large being filled via sprintf() with user input based on the format specifier string %d.%d.%d.%d. The 16 byte size is correct for valid IPv4 addresses (len('255.255.255.255') == 16), but the format specifier %d allows more than 3 digits. This has been fixed in version 2.11

Why it matters now

EPSS 0.01079 65th percentileScored 2026-11-07
Fix Fixed uftpd (troglobit): 2.11

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
troglobituftpdbefore 2.112.11Patch availableCNA
  • uftpd Vendortroglobit Affected before 2.11 Fixed in 2.11 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:troglobit:uftpd:*:*:*:*:*:*:*:*before 2.11Vulnerabletroglobit
  • cpe:2.3:a:troglobit:uftpd:*:*:*:*:*:*:*:* Versions before 2.11 Vulnerable ·troglobit

Remediation

  • Fix · CNA uftpd (troglobit) Fixed in 2.11

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-5204
  2. 2026-10-03 Alias added: GHSA-4g9j-24m6-cjw4

References

  • TI-2020-13817 There are multiple unauthenticated directory traversal vulnerabilities in different FTP… 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
  • TI-2020-11077 In uftpd before 2.12, handle_CWD in ftpcmd.c mishandled the path provided by the user… CVSS 3.1HIGH 7.5
  • TI-2020-04277 Directory Traversal (Chroot Escape) vulnerability in uftpd CVSS 3.1HIGH 7.2

Sources