Critical · 10.0 Critical vulnerabilities CVE-2026-138361
Critical Stack-Based Buffer Overflow in D-Link R18 DHMAPI httpd Component
A critical, unauthenticated stack-based buffer overflow (CVE-2026-138361) affects the DHMAPI component of D-Link R18 httpd. No fix is currently available and the issue can be triggered remotely without user interaction.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A critical vulnerability has been identified in the D-Link R18 router, affecting the DHMAPI component of the device's httpd service. The flaw allows a remote, unauthenticated attacker to trigger a stack-based buffer overflow by manipulating a request parameter. At the time of publication, no vendor fix is available. This briefing summarizes what is known, who is affected, and what steps can be taken while a fix is pending.
What happened
A vulnerability tracked as CVE-2026-138361 was identified in the is_session_valid function within the /bin/httpd file of the DHMAPI component on the D-Link R18 router. The function improperly handles the API-AUTH argument, resulting in a stack-based buffer overflow. The vulnerability can be triggered remotely.
Technical cause
The root cause is classified as CWE-121, a stack-based buffer overflow. It occurs because the is_session_valid function in the DHMAPI httpd component does not properly validate or bound the API-AUTH argument before writing it to a stack buffer, allowing an attacker to overwrite adjacent stack memory through crafted input.
Why it matters
This vulnerability can be exploited remotely without authentication or user interaction, and successful exploitation can affect the confidentiality, integrity, and availability of the device. Stack-based buffer overflows in network-facing services like httpd can potentially allow an attacker to crash the service or execute arbitrary code on the device, though no specific exploitation outcome has been confirmed in the available facts.
Who is affected
Owners and administrators of the D-Link R18 router are affected, specifically those running the firmware version identified in the advisory. No other D-Link products are confirmed as affected based on the available information.
Discovery and timeline
CVE-2026-138361 was published on 30 November 2026. The available facts indicate that an exploit has been disclosed publicly, though no active exploitation in the wild has been confirmed.
Fixes and mitigation
No vendor fix is currently available for this vulnerability. Organizations and individuals using the affected device should monitor for an official update from D-Link and consider interim mitigations such as restricting remote access to the device's management interface until a patch is released.
Recommended action
Until a fix becomes available, restrict network exposure of the D-Link R18's management interface, particularly from untrusted or internet-facing networks. Monitor D-Link's official channels for a security update addressing this issue, and apply it as soon as it is released.
PatchBriefing score
10.0 / 10 · Critical
Official CVSS: 10.0
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
EPSS 0.0105 (65 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
Reported fixes
No vendor fix is currently available for this vulnerability. Organizations and individuals using the affected device should monitor for an official update from D-Link and consider interim mitigations such as restricting remote access to the device's management interface until a patch is released.
How this was built
2 source records were collected, matched and used to prepare the report above.
-
CVE.org database
-
NVD (NIST) database
Revision history
- Published
- Generated