CVE-2020-5204
CVE-2020-5204 is a medium-severity vulnerability in Troglobit Uftpd with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-120.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v2: 6.5
- EPSS exploit prediction: 1% (61st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-120
- Affected product: Troglobit Uftpd
- Published:
- Last modified:
Description
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
Frequently asked questions
- What is CVE-2020-5204?
- 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
- How severe is CVE-2020-5204?
- CVE-2020-5204 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2020-5204 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (61st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2020-5204?
- CVE-2020-5204 affects Troglobit Uftpd. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2020-5204?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2020-5204 published?
- CVE-2020-5204 was published on 2020-01-06 and last updated on 2026-06-17.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00034.html
- https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd
- https://github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq
Affected products (1)
- cpe:2.3:a:troglobit:uftpd:*:*:*:*:*:*:*:*
More vulnerabilities in Troglobit Uftpd
- CVE-2020-20277 — Critical (CVSS 9.8): There are multiple unauthenticated directory traversal vulnerabilities in different FTP commands in uftpd FTP server…
- CVE-2020-20276 — Critical (CVSS 9.8): An unauthenticated stack-based buffer overflow vulnerability in common.c's handle_PORT in uftpd FTP server versions…
- CVE-2020-14149 — High (CVSS 7.5): In uftpd before 2.12, handle_CWD in ftpcmd.c mishandled the path provided by the user, causing a NULL pointer…
- CVE-2020-5221 — Medium (CVSS 6.5): In uftpd before 2.11, it is possible for an unauthenticated user to perform a directory traversal attack using multiple…
All CVEs affecting Troglobit Uftpd →
Other CWE-120 (Classic Buffer Overflow) vulnerabilities
- CVE-2025-48611 — Critical (CVSS 10.0): In DeviceId of DeviceId.java, there is a possible desync in persistence due to a missing bounds check. This could lead…
- CVE-2026-24823 — Critical (CVSS 10.0): Out-of-bounds Write, Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in FASTSHIFT…
- CVE-2026-24810 — Critical (CVSS 10.0): Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in rethinkdb (src/cjson modules).…
- CVE-2026-24800 — Critical (CVSS 10.0): Out-of-bounds Write, Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in tildearrow…
- CVE-2025-9962 — Critical (CVSS 10.0): A buffer overflow vulnerability in Novakon P series allows attackers to gain root permission without prior…
- CVE-2010-10016 — Critical (CVSS 10.0): BS.Player version 2.57 (build 1051) contains a vulnerability in its playlist import functionality. When processing .m3u…
Browse all CWE-120 (Classic Buffer Overflow) vulnerabilities →