On this page (6 sections)

A critical vulnerability, CVE-2026-138366, was published on November 30, 2026 for the D-Link R18 A1 router running firmware 1.20.B01. According to the NVD record, a stack-based buffer overflow in the httpd component can be triggered remotely, and the exploit has been publicly disclosed.

Anyone who owns, resells or manages D-Link R18 routers, especially with the web management interface reachable from the internet, should read on. The research available so far does not mention a vendor patch, so much of the advice below is about reducing exposure.

What happened

The NVD entry describes a flaw in the function GetDeviceSettings_put of the httpd component. Manipulating the argument named Target can cause a stack-based buffer overflow. The record says the attack may be performed remotely and that the exploit has been publicly disclosed and may be used.

The CVE references point to a GitHub repository and several VulDB entries, plus the D-Link home page. We have not been able to confirm the content of those pages, and no D-Link security advisory is cited in the research. Only one independent publisher covers this story so far, so details may change.

What kind of weakness this is

A stack-based buffer overflow happens when a program copies input into a fixed-size area of memory without checking its length. Data that is too long spills over adjacent memory, which can crash the process or, in the worst case, let an attacker change what the program does. Memory corruption in a network-facing service such as a router's web server is serious, because the input comes from whoever can reach it.

The CVSS score of 9.3 is consistent with a flaw that can be reached over the network. The research does not say whether authentication is required to reach the vulnerable function, so do not assume that a login prompt protects you.

The research gives no exploit details beyond the vulnerable function and parameter name, and this article does not include any. Specifics of the public exploit have not been verified by us.

Who is affected

The record names one product and version: D-Link R18 A1 with firmware 1.20.B01. Other firmware versions or hardware revisions are not mentioned, so their status is unknown rather than safe. Realistic exposure depends on where the management interface is reachable:

  • Routers with remote administration enabled or the web interface exposed to the internet are the highest risk.
  • Devices where an untrusted user or compromised machine sits on the local network are also at risk if the interface is reachable from there.
  • Small offices, agencies managing client networks and hosting staff with a router at an office or lab should check inventory, since consumer-grade routers are often forgotten.

How to check your exposure

First confirm whether you run this model and firmware. Log in to the router's admin page from the local network and look at the device information or firmware page for the model name (R18, hardware revision A1) and version (1.20.B01).

Then check whether the management interface is reachable from outside. From a machine outside your network (for example a mobile connection), try opening your public IP address in a browser on the router's web ports. If a login page appears, remote administration is exposed. This is a read-only check of your own device; do not test devices you do not own.

You can also review your router's remote management or WAN access settings, usually under an Administration, Remote Management or Firewall menu, depending on the firmware.

What to do now

  1. Identify every D-Link R18 A1 in your environment and note its firmware version.
  2. Turn off remote (WAN-side) administration so the web interface is not reachable from the internet.
  3. Restrict access to the admin interface to a trusted management device or a dedicated management network where the router allows it.
  4. Check D-Link's support pages for a firmware update or security notice for the R18 and install it as soon as one is published; none is cited in the research as of today.
  5. Make sure the router admin account uses a strong, unique password, and back up the configuration before any firmware change.
  6. If the device sits at the network edge of a business and no fix appears, plan to replace it or place it behind another firewall.
  7. Watch for unexpected reboots, changed DNS settings, unknown admin accounts or unfamiliar port forwards, which can indicate tampering.
Caution. Changing firmware or resetting settings can interrupt connectivity. Schedule the work, keep a copy of your configuration and make sure you can reach the router locally before disabling remote access.

Detection and monitoring

Memory corruption attempts against a router often show up as crashes or restarts of the web interface rather than clear log entries. Keep an eye on uptime of the router's public address and on any unexplained reboots. If you manage websites behind such a router, outside-in monitoring of uptime, DNS and certificates can help you notice side effects such as changed DNS records; see Webforta Monitor and uptime monitoring explained. That kind of monitoring will not tell you whether a router itself is vulnerable.

If you suspect a device was compromised, follow the steps in website hacked: what to do, and change credentials used from or through that network.

Sources

This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.

  1. CVE-2026-138366: A vulnerability was determined in D-Link R18 A1 1.20.B01.nvd.nist.gov ·
  • D-Link
  • CVE-2026-138366
  • buffer overflow
  • router security
  • IoT