Summary
CVE-2026-138366 is a stack-based buffer overflow in the httpd component of the D-Link R18 A1 router, firmware 1.20.B01. The flaw is in the GetDeviceSettings_put function and can be triggered remotely over the network without authentication. The CVE record rates it CVSS v3.1 10.0 (Critical).
Technical details
- Root cause: Stack-based buffer overflow (CWE-121, memory corruption) in the
GetDeviceSettings_putfunction of thehttpdcomponent. - Trigger conditions: Manipulating the
Targetargument. The CVE record says no authentication or user interaction is needed. - Attack vector: Network. Remote exploitation is possible.
- Impact: The CVSS vector rates confidentiality, integrity and availability impact as High, with Scope Changed. The CVE record does not describe a specific exploitation outcome.
- Exploit status: The CVE record references a public GitHub repository for this issue (FoundTL/D-LINK-R18A1-FW120B01-). The CVSS vector marks exploit maturity as Proof-of-Concept (E:P). The vulnerability was reported by Legion_TL via VulDB (VDB-445169).
Affected software
- D-Link R18 A1, firmware version 1.20.B01
Severity
- CVSS v3.1 base score: 10.0 (Critical)
- 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:C - The CVE record also lists CVSS v4.0 of 10.0.
Mitigation and recommended actions
- Immediate: The CVE record documents no vendor patch, fixed firmware version or official workaround. Check the D-Link support site for advisories and firmware updates for the R18 A1, and apply any fix once it is published.
- If no patch is available:
- Do not expose the router’s web management interface (
httpd) to the internet or untrusted networks. - Restrict access to the management interface to trusted internal hosts.
- Consider replacing the device if no fix is released.
- Monitor for unexpected requests to the device’s HTTP service.
- Do not expose the router’s web management interface (

