CVE-2020-5204

MEDIUM

uftpd < 2.11 - Stack-based Buffer Overflow via PORT Command IPv4 Format String

Title source: llm
STIX 2.1

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(&#39;255.255.255.255&#39;) == 16), but the format specifier %d allows more than 3 digits. This has been fixed in version 2.11

References (3)

Core 3

Scores

CVSS v3 6.5
EPSS 0.0108
EPSS Percentile 60.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Details

CWE
CWE-120 CWE-121
Status published
Products (1)
troglobit/uftpd < 2.11
Published Jan 06, 2020
Tracked Since Feb 18, 2026