Summary
CVE-2026-138361 is a critical stack-based buffer overflow in the D-Link R18 router, firmware 1.20.B01. The flaw is in the is_session_valid function of /bin/httpd (DHMAPI component). It is rated CVSS 10.0 (Critical) and is reachable over the network without authentication or user interaction.
Technical details
- Root cause: Stack-based buffer overflow (CWE-121 / CWE-119) in the
is_session_validfunction of/bin/httpd, part of the DHMAPI component. - Trigger condition: Manipulating the
API-AUTHargument (request header/parameter) causes the overflow. - Attack vector: Network; low complexity, no privileges and no user interaction required.
- Impact: High impact on confidentiality, integrity and availability, with changed scope. The VulDB submission describes the issue as control-flow hijacking.
- Exploit status: The CVE record lists a public exploit repository (exploit maturity: proof-of-concept). The advisory was disclosed publicly on 2026-11-29. Several related D-Link R18 1.20.B01
httpdoverflows were published at the same time.
Affected software
- D-Link R18 firmware 1.20.B01
Severity
- CVSS v3.1 base score: 10.0 (Critical)
- Vector:
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P - CVSS v4.0 score: 10.0
Mitigation and recommended actions
- Immediate: No vendor patch was identified in the sources reviewed. Check D-Link’s security advisories and support pages for a fixed firmware release, and apply it when available.
- Workarounds: Do not expose the router’s web management interface to the internet or untrusted networks. Restrict management access to trusted internal hosts only. If the device is exposed and cannot be protected, consider replacing it or taking it out of service.
- Monitor for unusual requests to the router’s web interface, especially ones with oversized
API-AUTHvalues.

