Critical · 10.0 Critical vulnerabilities CVE-2026-120189
D-Link DIR-505 TFTP Upload Handler Stack-Based Buffer Overflow (CVE-2026-120189)
A stack-based buffer overflow in the TFTP upload filename handler of the D-Link DIR-505 allows remote, unauthenticated attackers to potentially execute arbitrary code or crash the device. No vendor fix is currently available.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A security vulnerability has been identified in the D-Link DIR-505 router, affecting the TFTP upload filename handling component of the device. The flaw is classified as a stack-based buffer overflow and can be triggered remotely without authentication or user interaction. This briefing summarizes what is known about the vulnerability, its potential impact, and the current absence of a fix.
What Happened
A vulnerability was identified in the D-Link DIR-505 device, specifically version 1.10B02. The issue affects the functions responsible for handling uploaded files (save_upload_file / mp_upload_file) within the tftpd binary located at /usr/bin/tftpd, part of the TFTP Upload Filename Handler component. By manipulating the filename supplied during a TFTP upload, an attacker can trigger a stack-based buffer overflow.
Technical Cause
The vulnerability is classified under CWE-121 (Stack-based Buffer Overflow). It occurs within the tftpd component of the device, specifically in the upload filename handling logic of the save_upload_file/mp_upload_file functions. Insufficient bounds checking on attacker-supplied filename input during a TFTP upload allows data to overflow a stack buffer.
Why It Matters
This vulnerability received a maximum CVSS 4.0 base score of 10, reflecting that it can be exploited remotely, without authentication, and without any user interaction, with a high impact on confidentiality, integrity, and availability of the device. The Patchwire score of 6.7 is lower than the raw CVSS score would suggest, because at the time of writing there is no confirmed active exploitation in the wild, no confirmed public exploit code, and the EPSS probability of exploitation remains low. The score does, however, account for the unauthenticated remote attack vector, the lack of required user interaction, and the absence of an available fix, all of which increase real-world risk over time.
Who Is Affected
Organizations and individuals using the D-Link DIR-505 device are affected, specifically version 1.10B02 as identified in the fact package. The TFTP upload functionality exposed by this device's tftpd component is the relevant attack surface.
Affected Versions
The vulnerability was confirmed in D-Link DIR-505 firmware version 1.10B02. No information is available in the current fact package regarding whether other firmware versions of this device are also affected.
Fixes and Mitigation
At the time of this briefing, no vendor fix is available for this vulnerability. Administrators should consider restricting network access to the device's TFTP service, disabling TFTP upload functionality if not required, and isolating the device from untrusted networks until a vendor update becomes available.
Recommended Action
Given the absence of a fix, administrators running the D-Link DIR-505 are advised to limit or disable remote and untrusted access to the device's TFTP service immediately, monitor for vendor updates, and consider replacing or isolating end-of-life devices that no longer receive security support. Review network segmentation to prevent unauthenticated remote access to this device's management and upload interfaces.
PatchBriefing score
10.0 / 10 · Critical
Official CVSS: 10.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
EPSS 0.0144 (73 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
Reported fixes
At the time of this briefing, no vendor fix is available for this vulnerability. Administrators should consider restricting network access to the device's TFTP service, disabling TFTP upload functionality if not required, and isolating the device from untrusted networks until a vendor update becomes available.
How this was built
2 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
CVE.org database
Revision history
- Published
- Generated
- Published
- Generated