CVE-2026-138361

D-Link R18 DHMAPI httpd is_session_valid stack-based overflow

Published Nov 30, 2026 CVSS 4.0 · 10 Critical EPSS < 1% KEV · Not listed
Description
A security vulnerability has been detected in D-Link R18 1.20.B01. This issue affects the function is_session_valid of the file /bin/httpd of the component DHMAPI. The manipulation of the argument API-AUTH leads to stack-based buffer overflow. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used.

Analysis

AI-generated

Technical impact

A stack-based buffer overflow exists in the is_session_valid function of the D-Link R18 httpd component DHMAPI. By manipulating the API-AUTH argument, an attacker can overflow the stack, potentially executing arbitrary code on the device. The vulnerability is a classic example of memory corruption where input data is written beyond the bounds of a buffer, leading to control‑flow hijacking.

Affected Systems

The flaw affects D-Link R18 routers running firmware version 1.20.B01. Any device with this firmware is susceptible; no other versions or products are listed as impacted.

Risk and Exploitability

The CVSS score of 10 signals a severe risk. EPSS information is unavailable, but the exploit has been publicly disclosed and can be launched remotely, indicating a high likelihood of real‑world exploitation. The vulnerability is not currently listed in the CISA KEV catalog, but its remote nature and proven exploitability warrant urgent attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest firmware update issued by D-Link for the R18 device.
  • If a firmware update cannot be applied immediately, block or filter traffic to the /bin/httpd endpoint that accepts the API-AUTH parameter using firewall or ACL rules.
  • Configure network segmentation so that management interfaces are isolated from external networks, reducing exposure to remote attackers.
  • Log all HTTP requests containing API-AUTH and monitor for anomalous activity or repeated overflow attempts.

Generated by OpenCVE AI on November 30, 2026 at 03:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description A security vulnerability has been detected in D-Link R18 1.20.B01. This issue affects the function is_session_valid of the file /bin/httpd of the component DHMAPI. The manipulation of the argument API-AUTH leads to stack-based buffer overflow. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used.
Title D-Link R18 DHMAPI httpd is_session_valid stack-based overflow
First Time appeared D-link
D-link r18
Weaknesses CWE-119
CWE-121
CPEs cpe:2.3:h:d-link:r18:*:*:*:*:*:*:*:*
Vendors & Products D-link
D-link r18
References
Metrics cvssV2_0

{'score': 10, 'vector': 'AV:N/AC:L/Au:N/C:C/I:C/A:C/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 10, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 10, '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'}

cvssV4_0

{'score': 10, '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'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-121

    Stack-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 30, 2026, 5:23 PM
Reserved
Nov 29, 2026, 11:55 AM
Status
Deferred
Published
Nov 30, 2026, 3:17 AM
Modified
Nov 30, 2026, 6:18 PM