Buffer overflow vulnerability in uftpd
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA uftpd (troglobit) Fixed in 2.11
Timeline
- 2026-10-02 Threatist record created from CVE-2020-5204
- 2026-10-03 Alias added: GHSA-4g9j-24m6-cjw4
References
More troglobit Uftpd vulnerabilities
- 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
- CVE-2020-5204 · CVE Program
- CVE-2020-5204 · NVD
- FIRST EPSS
- GHSA-4g9j-24m6-cjw4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences