Remote Code Execution Vulnerability in D-Link DIR-816 A2 Products
CVE-2018-20305

Patch this weekFull system takeover over the network, no login needed.
9.8CRITICAL

Key Information:

Vendor

D-link

Vendor
CVE Published:
20 December 2018

Key facts

CVE-2018-20305 is a critical severity (CVSS 9.8) vulnerability in D-link Dir-816 A2 Firmware. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 4.0%, the estimated probability of exploitation in the next 30 days.

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit code yet
  • No: No attacks seen yet
  • No: Not on CISA's exploited list

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory โ†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Dir-816 A2 Firmware. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Patch this week"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is critical (9.8).

What is CVE-2018-20305?

D-Link DIR-816 A2 devices running firmware version 1.10 B05 are susceptible to a serious vulnerability that allows for arbitrary remote code execution. This issue arises due to a stack-based buffer overflow that occurs when processing the newpass parameter in the /goform/form2userconfig.cgi handler. An attacker can exploit this flaw by sending a specially crafted long password, which can overwrite a return address and lead to the execution of malicious code without requiring authentication, thereby exposing users to significant risks.

References

Out-of-Bounds Write Vulnerability in D-Link DIR-895L Router

CVE-2026-100740
D-linkDir-895l๐Ÿ‘พ9.4CRITICAL

Stack-Based Buffer Overflow in D-Link DIR-868L Authentication Component

CVE-2026-94089
D-linkDir-868l๐Ÿ‘พ10CRITICAL

Stack-based Buffer Overflow in D-Link DI-8400 Router

CVE-2025-9938
D-linkDi-8400๐Ÿ‘พ8.7HIGH
View more D-link vulnerabilities...

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.