CVE-2026-120189

D-Link DIR-505 TFTP Upload Filename tftpd mp_upload_file stack-based overflow

Published Nov 1, 2026 CVSS 4.0 · 10 Critical EPSS 1.3% KEV · Not listed
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.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply any official firmware update that addresses the mp_upload_file buffer overflow, if one is available for the DIR-505 1.10B02 model.
  • Disable the TFTP service or restrict access to trusted internal hosts by configuring ACLs, firewalls, or VLAN segmentation.
  • Monitor router logs or SNMP traps for unusual TFTP activity and investigate any unexpected file upload attempts.

Generated by OpenCVE AI on November 1, 2026 at 15:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title D-Link DIR-505 TFTP Upload Filename tftpd mp_upload_file stack-based overflow
First Time appeared D-link
D-link dir-505
Weaknesses CWE-119
CWE-121
CPEs cpe:2.3:h:d-link:dir-505:*:*:*:*:*:*:*:*
Vendors & Products D-link
D-link dir-505
References
Metrics cvssV2_0

{'score': 10, 'vector': 'AV:N/AC:L/Au:N/C:C/I:C/A:C/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 10, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 10, 'vector': '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'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-121

    Stack-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 5, 2026, 3:36 PM
Reserved
Oct 31, 2026, 8:05 AM
Status
Deferred
Published
Nov 1, 2026, 1:17 AM
Modified
Nov 5, 2026, 4:17 PM