CVE-2026-124562

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 vulnerability was identified in D-Link DIR-878 1.20B05. Affected is the function SetWanSettings of the component HNAP Handler. The manipulation of the argument ConfigDNS/Primary/ConfigDNS/Secondary leads to buffer overflow. The attack may be initiated remotely. The exploit is publicly available and might be used. This vulnerability only affects products that are no longer supported by the maintainer.

Analysis

AI-generated

Technical impact

The vulnerability is a classic buffer overflow in the SetWanSettings function of the HNAP handler in D‑Link’s DIR‑878 firmware 1.20B05. Malformed DNS configuration parameters can overflow a local buffer. A buffer overflow of this type may corrupt memory and, if exploited, could enable arbitrary code execution or cause a device crash, thereby compromising confidentiality, integrity, and availability. The description states that the attack may be initiated remotely and that the exploit is publicly available, which infers the possibility of remote exploitation.

Affected Systems

Only the D‑Link DIR‑878 router with firmware 1.20B05 is affected. The model is listed as D‑Link DIR‑878 and this specific firmware is no longer supported by the vendor.

Risk and Exploitability

The CVSS score of 8.7 signals high severity. No EPSS score is available, but the advisory notes the exploit is publicly available and may be used, implying a tangible risk. The vulnerability is not catalogued as a Known Exploited Vulnerability by CISA. Because remote access via the HNAP interface can trigger the overflow, an attacker with network access to the router can inject crafted DNS parameters, potentially achieving code execution or a denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the DIR‑878 router to a firmware version that includes the fixed HNAP logic or replace the device entirely.
  • Configure or firewall‑block the HNAP service to prevent external access, disabling remote administration via the web interface.
  • If firmware upgrade cannot be performed, ensure the HNAP interface is unreachable from external networks by adjusting firewall rules or by isolating the router on a separate VLAN.

Generated by OpenCVE AI on November 9, 2026 at 04:50 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 vulnerability was identified in D-Link DIR-878 1.20B05. Affected is the function SetWanSettings of the component HNAP Handler. The manipulation of the argument ConfigDNS/Primary/ConfigDNS/Secondary leads to buffer overflow. The attack may be initiated remotely. The exploit is publicly available and might be used. 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 9, 2026, 2:07 PM
Reserved
Nov 8, 2026, 2:46 PM
Status
Deferred
Published
Nov 9, 2026, 4:17 AM
Modified
Nov 9, 2026, 3:17 PM