Home › CVE › Vulnerabilities
CVE-2026-138366 — D-Link R18 A1
One of 4 D-Link R18 A1 vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesResearch article
D-Link R18 A1 firmware 1.20.B01 stack-based buffer overflow in GetDeviceSettingsput of httpd (CVE-2026-138366)
| CVE | CVE-2026-138366 |
|---|---|
| Vendor and product | D-Link R18 A1 |
| Published | November 30, 2026 05:50 UTC |
| Research cut-off | November 30, 2026 05:45 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-30); CISA KEV catalog |
Executive summary
CVE-2026-138366 is a stack-based buffer overflow (CWE-121, within CWE-119) in the GetDeviceSettingsput function of the httpd web server component of D-Link R18 A1 firmware 1.20.B01, triggered by manipulating the Target argument [1]. The record scores it CVSS 3.1 10.0 Critical with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H, and CVSS 4.0 9.3 Critical with a vector that also carries exploit-maturity value E:P; both were assigned by the CNA cna@vuldb.com, and NVD has not yet completed its own analysis, as the record's Deferred status shows [1]. The only vendor version listed as affected is 1.20.B01, and the pack contains no fixed version [1]. Per the vector, the flaw is reachable over the network without privileges or user interaction, but the pack does not confirm the device's real configuration [1]. The record states that exploit details are already public, and CISA's Known Exploited Vulnerabilities catalog did not list the CVE as of 2026-11-30; this absence does not prove the flaw has gone unexploited [1, 2]. The most important immediate action is to identify every R18 A1 device, confirm its firmware version, and remove its management interface from any untrusted network path until a vendor fix is verified [1].
Key points
- CVE-2026-138366 is a stack-based buffer overflow (CWE-121) in the GetDeviceSettingsput function of httpd in D-Link R18 A1 firmware 1.20.B01 [1].
- The CNA scores are CVSS 3.1 10.0 Critical and CVSS 4.0 9.3 Critical, both with network attack vectors and no privileges required [1].
- The record states that exploit details are public, and the CVE was not in CISA KEV as of 2026-11-30; confirmed in-the-wild exploitation is not established [1, 2].
- The pack lists only 1.20.B01 as affected and gives no fixed version or vendor advisory [1].
- Immediate step: remove the management interface from untrusted networks and verify the firmware version on every R18 A1 device [1].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2026-138366 [1] |
| Vendor | D-Link [1] |
| Product | R18 A1 [1] |
| Component | httpd, function GetDeviceSettingsput [1] |
| Affected platform | Firmware 1.20.B01 as published by the CNA [1] |
| Published / last modified | 2026-11-30T04:17:16 / 2026-11-30T04:17:16 [1] |
| Record status | Deferred, as the record states; the pack does not explain this status [1] |
| CWE | CWE-119 (improper restriction of operations within the bounds of a memory buffer) and CWE-121 (stack-based buffer overflow), the specific variant that writes past a fixed-size buffer on the stack [1] |
| CVSS 3.1 | 10.0 Critical; vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H; scored by cna@vuldb.com, labelled Primary [1] |
| CVSS 4.0 | 9.3 Critical; 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X; scored by cna@vuldb.com, labelled Secondary [1] |
| Related references | VulDB entries and submission, a VulDB CTI page, a GitHub repository and the vendor homepage are listed without NVD tags [1] |
The two CVSS versions differ in score (10.0 against 9.3) because they use different metric sets; the record gives no reason for the difference [1]. NVD has not assigned its own scores in the pack, so these are CNA scores [1].
Vulnerability description
The flaw breaks memory safety. The httpd web server's GetDeviceSettingsput handler copies attacker-controlled input from the Target argument into a fixed-size stack buffer without checking that the input fits, so data can overwrite adjacent stack contents [1]. The record says the attack can be carried out remotely [1].
The CVSS 3.1 vector, which the CNA assigned, reads high impact to confidentiality, integrity and availability and a changed scope, meaning the effect may reach beyond the vulnerable component's own security boundary [1]. These are scorer assessments from the vector, not demonstrated outcomes; the pack contains no proof of what an attacker can read or change on a device [1].
The conditions that make the flaw matter are network reachability of the httpd service and a version that matches 1.20.B01 [1]. Whether the device actually exposes this interface, and whether it needs a login in practice, cannot be read from the vector alone.
Attack surface and exploitation prerequisites
| Prerequisite | Evidence and limits |
|---|---|
| Network access | Vector AV:N and the record's remote statement [1] |
| Adjacent network, local or physical access | Not indicated by the vector, which reads AV:N [1] |
| Authentication and privilege level | Vector PR:N, meaning no privileges required [1]. This comes from the vector; the pack does not show the device's login configuration. |
| User interaction | Vector UI:N, meaning none required [1]. Derived from the vector only. |
| Required configuration | The httpd service must be reachable on the attacker's path; the pack does not state the default configuration or whether remote management is enabled by default [1] |
| Attacker position | A network path to the device's web service, from any reachable segment [1] |
| Limitations | The pack contains no technical detail on the input length or layout that triggers the overflow, and no note on device mitigations such as stack protection [1] |
Impact analysis
| Area | Assessment |
|---|---|
| Confidentiality | High according to the CVSS 3.1 and 4.0 vectors; not demonstrated by any source [1] |
| Integrity | High according to the vectors; not demonstrated [1] |
| Availability | High according to the vectors; a crash of the web service is a plausible consequence of a stack overflow (Analyst assessment) [1] |
| Authentication and authorization | Unknown; the pack does not describe the authentication code involved [1] |
| Privilege boundaries | The CVSS 3.1 scope is changed, which suggests impact beyond httpd; the pack does not show what that means on this device [1] |
| Data and privacy | Unknown; no source describes what data the device stores or processes through this function [1] |
| Business operations | A compromised home or small-office router can disrupt network traffic and connected devices (Analyst assessment) |
| Regulatory or contractual | Not assessed by the sources [1] |
Affected products and versions
| Vendor | Product / component | Affected versions | Platform | Fixed version | Source and qualification |
|---|---|---|---|---|---|
| D-Link | R18 A1 / httpd | 1.20.B01 | Device firmware | Not given in the pack | CNA-published range in the CVE record [1] |
The CNA lists one version. Because this is the only published entry, it should not be read as a complete range; other firmware builds were not reviewed [1].
Exploitation and threat intelligence status
- Confirmed exploitation in the wild: not established by the reviewed sources.
- CISA KEV: the CVE is not listed as of 2026-11-30 [2]. The catalog check does not show that the flaw is unexploited.
- Public proof of concept: the record states that the exploit has been disclosed to the public [1]. It also lists a GitHub repository reference [1]. The pack does not include the repository's contents, so the reviewed sources do not verify what it contains.
- Exploit maturity: the CVSS 4.0 vector carries E:P, which the scorer used to indicate proof-of-concept exploit maturity (Analyst assessment, based on the vector) [1].
- Threat actors and campaigns: none attributed in the pack.
- EPSS: no score is in the pack.
Public disclosure is not confirmed exploitation, and the absence of KEV listing is not evidence that no one has exploited the flaw [1, 2].
Detection and exposure assessment
- Inventory: list every D-Link R18 A1 device, including those reached through remote management, and record the firmware version of each. The pack gives no exact menu path or command for reading the version; use the vendor's management interface or documentation [1].
- Exposure: from firewall or gateway configuration, confirm whether the device's web management port is reachable from untrusted networks. Any reachable instance on version 1.20.B01 is a priority (Analyst assessment).
- Logs: review the device's web or system logs, if any, and the perimeter logs for requests to the management interface with unusual or oversized values in the Target argument. The pack does not name a log source, event or field for this activity, so the search terms must be derived from the device's own logging format [1].
- Crash evidence: unexpected reboots or web service restarts on a device with exposed management should be investigated as a possible symptom (Analyst assessment).
A version match is not proof of exploitability, and the absence of log findings does not show that the device was not targeted.
Remediation
Immediate mitigation (Analyst assessment, derived from the documented network reachability [1]):
- Remove the device's web management interface from the internet by closing the inbound port at the edge firewall. Verify with an external port check from an outside network.
- Restrict management access to a dedicated administrative address range, verified by a firewall rule that denies all other sources.
- Disable any remote management feature in the device settings, and verify that the option is off after a configuration review.
Permanent fix: the pack contains no vendor advisory, patch or fixed version for 1.20.B01 [1, 2]. Check D-Link's support site for a newer R18 A1 firmware build; the pack does not provide a version to target. After any update, confirm the installed firmware string matches the fixed build and retest that the management interface is restricted as above.
If no fixed build exists, replacing the device or isolating it from all untrusted networks is the only remaining control in the pack (Analyst assessment).
Remediation checklist
- Inventory all D-Link R18 A1 devices and record the firmware version string shown in the device's management interface; flag any reporting 1.20.B01 [1].
- Close the inbound port for the device's web management service at the edge firewall, then verify from an outside network that it no longer answers [1].
- Restrict remaining management access to a named administrative address range with a deny-by-default firewall rule, and verify the rule by testing from an address outside the range (Analyst assessment).
- Disable any remote management option in the device settings and confirm the setting after a configuration review (Analyst assessment).
- Check the D-Link support site for an R18 A1 firmware newer than 1.20.B01; the pack gives no fixed version, so do not assume a specific build is fixed [1].
- After any firmware update, confirm the installed version string matches the vendor-published fixed build and retest the restricted access path [1].
- Review perimeter logs for requests to the device's management interface, focusing on unusually long or malformed values in the Target argument; the log format must come from the device documentation, as the pack names no log source [1].
- Investigate unexpected reboots or web service restarts on any internet-reachable device, treating them as potential exploitation symptoms until ruled out (Analyst assessment).
- If no fixed firmware is available, replace or isolate the device from all untrusted networks (Analyst assessment).
- Recheck CISA KEV and the NVD record for updates, since the record is Deferred and the scores may change [1, 2].
Evidence gaps
- Not established by the reviewed sources: a vendor advisory, patch or fixed firmware version for R18 A1 1.20.B01. Check the D-Link support site and the vendor's security notices for the R18 A1 product.
- Not established by the reviewed sources: a complete affected version range, since the CNA lists only 1.20.B01. Obtain the firmware release history from D-Link to determine other affected builds.
- Not established by the reviewed sources: the root cause in the source code, such as the copy operation or missing length check. Obtain the vendor's analysis or a responsible disclosure report.
- Not established by the reviewed sources: the default configuration of the httpd service and whether remote management is enabled by default. Check the vendor's product documentation for the R18 A1.
- Not established by the reviewed sources: the authentication check that precedes GetDeviceSettingsput, which determines whether PR:N holds in practice. Test in a lab with the vendor's firmware, under authorization.
- Not established by the reviewed sources: confirmed exploitation in the wild, threat actor attribution or campaign details. Monitor CISA KEV and vendor or threat intelligence reports for updates.
- Not established by the reviewed sources: the contents of the GitHub repository referenced in the record, and whether it is a working proof of concept. Review it in a controlled environment before relying on it.
- Not established by the reviewed sources: an EPSS score, file hashes, domains, IP addresses, log events or other indicators of compromise.
- Not established by the reviewed sources: the reasons for the Deferred record status and the NVD analysis timeline. Recheck the NVD record for updates.
- Not established by the reviewed sources: why the CVSS 3.1 and 4.0 scores differ, beyond the metric sets. The CNA's scoring notes would settle this.
References
- CVE-2026-138366 record. NIST National Vulnerability Database (NVD), 2026-11-30. https://nvd.nist.gov/vuln/detail/CVE-2026-138366. Accessed 2026-11-30.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-30. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-30.
Summary
A vulnerability was determined in D-Link R18 A1 1.20.B01. This impacts the function GetDeviceSettings_put of the component httpd. Executing a manipulation of the argument Target can lead to stack-based buffer overflow. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized.
Severity breakdown
Critical · 9.3
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- high on confidentiality, integrity and availability
- Exploit maturity
- a proof-of-concept exploit is public
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-121: Stack-based Buffer Overflow
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| D-Link R18 A1 | 1.20.B01 | — |
References by type
Other references
Affected
- D-Link R18 A1
Frequently asked questions
What is CVE-2026-138366?
CVE-2026-138366 is a stack-based buffer overflow (CWE-121, within CWE-119) in the GetDeviceSettingsput function of the httpd web server component of D-Link R18 A1 firmware 1.20.B01, triggered by manipulating the Target argument. Weakness type: Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119).
How severe is CVE-2026-138366?
CVE-2026-138366 has a CVSS 4.0 base score of 9.3 (critical), from the CNA (vuldb.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-138366 being exploited?
Not as far as is known: CVE-2026-138366 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026.
Which versions are affected by CVE-2026-138366?
D-Link R18 A1 1.20.B01.
How do I fix CVE-2026-138366?
Inventory all D-Link R18 A1 devices and record the firmware version string shown in the device's management interface; flag any reporting 1.20.B01. Close the inbound port for the device's web management service at the edge firewall, then verify from an outside network that it no longer answers. Restrict remaining management access to a named administrative address range with a deny-by-default firewall rule, and verify the rule by testing from an address outside the range (Analyst assessment).