Skip to content
PatchBriefing

Search PatchBriefing

Type at least two characters. Results update as you type.

Search CVEs, products, packages and article titles.

Nothing found. Identifiers such as CVE and GHSA can be searched in both languages.

Subscribe

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 →

Synthesized by AI from 2 sources · updated 1 day ago

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
Unified report
Critical Stack-Based Buffer Overflow in D-Link R18 DHMAPI httpd Component
1 article · 2 sources cited
Revision history
  1. Published
  2. Generated
The Morning Brief

Relevant changes for the stacks you follow.

Choose your stacks, topics and optional WordPress plugins. At 07:00 CET, matching advisories and releases from the reporting period are grouped into one email.

✓ Choose stacks and topics✓ Change preferences anytime✓ One grouped email