Technical impact
A stack-based buffer overflow exists in the mp_upload_file function of /usr/bin/tftpd on the D-Link DIR-505 router. When a TFTP server receives an upload_filename that exceeds the size of the internal buffer, it overwrites adjacent stack memory. This allows an attacker to corrupt program control data and execute arbitrary code, potentially taking control of the router. The flaw is identified as a classic instance of untrusted input leading to a buffer overflow (CWE-119) and an associated use-after-return condition (CWE-121).
Affected Systems
The vulnerability affects D-Link DIR-505 routers running firmware version 1.10B02. The vendor product and CPE string identify only this model and build; no other firmware revisions are referenced, so the risk is confined to devices with this exact firmware. Users of newer or older firmware versions are not known to be impacted by this specific issue.
Risk and Exploitability
The CVSS base score is 10, marking the flaw as critical. The EPSS score of 1% indicates low but non-zero likelihood of exploitation, while the vulnerability is not yet listed in CISA’s KEV catalog. Importantly, the attack can be carried out remotely, as the TFTP service listens on UDP port 69 and accepts requests from any host that can reach the device. The availability of a public proof-of-concept exploit suggests that remote attackers could trigger the overrun without local access.