CVE-2020-5204 json
Buffer overflow vulnerability in uftpd
published 2020-01-06 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-26447
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
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
Patch / fix
- troglobit uftpd 2.11
- uftpd openSUSE Leap 15.1 2.11-lp151.2.3.1
opensuse advisories openSUSE-SU-2020:0069-1
Exploit prediction
1.08% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected products
- troglobit uftpd
Classification
References
-
github.com
/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd
patch, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-01/msg00034.html
vendor-advisory
-
github.com
/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq
third-party-advisory
Sources
- CVE List CVE-2020-5204
- NVD CVE-2020-5204
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.