CVE-2026-120189: D-Link DIR-505 TFTP Upload Filename tftpd mp_upload_file stack-based overflow
Exploitation: Public exploit · CVSS 10.0 Critical · Unauthenticated · Published 2026-11-01
Description
A vulnerability was identified in D-Link DIR-505 1.10B02. Affected is the function save_upload_file/mp_upload_file of the file /usr/bin/tftpd of the component TFTP Upload Filename Handler. The manipulation leads to stack-based buffer overflow. The attack is possible to be carried out remotely. The exploit is publicly available and might be used.
Enclave's analysis
Stack buffer overflow in the TFTP daemon on D-Link DIR-505 firmware 1.10B02. A long filename in a TFTP upload triggers it, with no login needed. A public PoC repo exists, but nobody has reported real-world exploitation. The router reportedly hit end of life in 2018, so don't expect a patch. Retire the device, or make sure UDP/69 isn't reachable from the internet or untrusted networks.
Fix
Upgrade D-Link DIR-505 (TFTP Upload Filename Handler, /usr/bin/tftpd) to None known; product reportedly end of life since 2018-01-31. No fixed version is listed for DIR-505; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| DIR-505 | 1.10B02 | Not listed |
| D-Link DIR-505 (TFTP Upload Filename Handler, /usr/bin/tftpd) | Firmware 1.10B02 (only listed version; other versions untested, not known safe) | None known; product reportedly end of life since 2018-01-31 |