Remote Port Parameter Vulnerability in D-Link Routers

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

CVE-2018-19986

Key Information:

Vendor

D-link

CVE ID
CVE ID:
CVE-2018-19986
Vendor
CVE Published:
13 May 2019

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

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

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.

2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Dir-818lw 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.
  • EPSS gives it a 41.6% chance of exploitation in the next 30 days.
  • Its CVSS severity is critical (9.8).

What is CVE-2018-19986?

The vulnerability in D-Link DIR-818LW and DIR-822 routers arises from the improper handling of the RemotePort parameter in the /HNAP1/SetRouterSettings message. Without adequate regex validation, crafted XML messages can potentially allow attackers to inject shell metacharacters into the system configuration. This loophole can lead to significant security concerns, as it enables raw command execution through the device, putting users' networks at risk.

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...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

EPSS Score

41% chance of being exploited in the next 30 days.

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
.