CVE-2026-124563

D-Link DIR-878 HNAP SetWanSettings buffer overflow

Published Nov 9, 2026 CVSS 4.0 · 8.7 High EPSS 1.1% KEV · Not listed
Description
A security flaw has been discovered in D-Link DIR-878 1.20B05. Affected by this vulnerability is the function SetWanSettings of the component HNAP Handler. The manipulation of the argument Primary/Secondary results in buffer overflow. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks. This vulnerability only affects products that are no longer supported by the maintainer.

Analysis

AI-generated

Technical impact

A buffer overflow flaw in the SetWanSettings function of the HNAP Handler allows an attacker to overwrite memory when the Primary/Secondary argument is manipulated. This vulnerability can be triggered remotely, potentially leading to execution of arbitrary code on the DIR‑878 router. The flaw is confirmed in firmware 1.20B05 and was discovered after the product left active support, making it difficult to receive a vendor patch.

Affected Systems

D‑Link DIR‑878 routers running firmware 1.20B05 (or older versions that include the vulnerable SetWanSettings implementation). The vulnerability is limited to this model and was identified in the HNAP Handler component. Only devices that are no longer supported by D‑Link are impacted, meaning there is no official update path.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, but the public release of an exploit and remote attack feasibility raise the risk level considerably. Attackers can remotely interact with the vulnerable endpoint, sending crafted requests that overflow the buffer and potentially execute arbitrary code on the device. Given the lack of official support, exposed devices pose a significant threat.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the router to the latest firmware provided by D‑Link, or confirm whether a firmware version that patches the SetWanSettings buffer overflow exists; if no update is available, plan to replace the device.
  • Restrict or disable the HNAP interface so that it is only reachable from the local network, or block the SetWanSettings URL using the router’s firewall or an external firewall appliance, thereby preventing remote access to the vulnerable endpoint.
  • Replace the DIR‑878 with a commercially supported router that receives regular security updates, and decommission the vulnerable unit from the network.
  • Conduct a network scan for vulnerable devices, verify the firmware version, and monitor logs for anomalous activity related to SetWanSettings requests.

Generated by OpenCVE AI on November 9, 2026 at 05:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dlink
Dlink dir-878
Vendors & Products Dlink
Dlink dir-878
Type Values Removed Values Added
Description A security flaw has been discovered in D-Link DIR-878 1.20B05. Affected by this vulnerability is the function SetWanSettings of the component HNAP Handler. The manipulation of the argument Primary/Secondary results in buffer overflow. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks. This vulnerability only affects products that are no longer supported by the maintainer.
Title D-Link DIR-878 HNAP SetWanSettings buffer overflow
First Time appeared D-link
D-link dir-878
Weaknesses CWE-119
CWE-120
CPEs cpe:2.3:h:d-link:dir-878:*:*:*:*:*:*:*:*
Vendors & Products D-link
D-link dir-878
References
Metrics cvssV2_0

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

cvssV3_0

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

cvssV3_1

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

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 13, 2026, 3:42 AM
Reserved
Nov 8, 2026, 2:47 PM
Status
Deferred
Published
Nov 9, 2026, 4:17 AM
Modified
Nov 13, 2026, 4:17 AM