SECURITYCRITICALCVE-2026-138361

CVE-2026-138361: D-Link R18 is_session_valid DHMAPI Stack Buffer Overflow (CVSS 10.0)

The API-AUTH argument of is_session_valid in /bin/httpd on D-Link R18 1.20.B01 overflows the stack. Remote, public exploit noted; no fix confirmed.

Dylan H.

Security Team

November 30, 2026
2 min read
CVE-2026-138361: D-Link R18 is_session_valid DHMAPI Stack Buffer Overflow (CVSS 10.0)

Critical severity

Rated critical. Prioritise patching — see the remediation guidance below.

Affected Products

  • D-Link R18 1.20.B01

Summary

CVE-2026-138361 is a stack-based buffer overflow in the DHMAPI component of the D-Link R18 router, published in NVD on November 30, 2026 with a CVSS score of 10.0. Only the NVD description was available to us, so vendor confirmation and patch status are unverified.

Details

The record names the function is_session_valid in /bin/httpd. Manipulating the API-AUTH argument causes a stack-based buffer overflow. The attack can be initiated remotely, and the record says an exploit is public.

ProductFirmware
D-Link R181.20.B01

Because the vulnerable function validates sessions, it likely runs before authentication completes. The record does not say so explicitly. A sibling record, CVE-2026-138362, covers a different function in the same router.

Impact

A stack overflow in the router's web daemon can lead to a crash or code execution with the device's privileges, allowing traffic interception, DNS tampering, persistence, or use of the router as a botnet node.

What to do

  1. Turn off remote management and keep the admin interface off the internet.
  2. Restrict LAN access to the management interface.
  3. Watch D-Link's support page for R18 firmware; no fixed version was named.
  4. Replace the device if no fix ships.

References