CVE-2026-124562: D-Link DIR-878 buffer overflow in HNAP SetWanSettings

CVE-2026-124562 · Severity: high · CVSS 7.5 · Published 2026-11-09

D-Link DIR-878 is a wireless router used to provide network connectivity in homes and small offices. The device's HNAP (Home Network Administration Protocol) handler contains a buffer overflow vulnerability in the SetWanSettings function that allows an attacker to remotely send malicious DNS configuration parameters and crash the device or potentially execute arbitrary code. This vulnerability affects only unsupported product versions and exploits are publicly available.

Technologies: D-Link DIR-878. Vendors: D-Link.

Quick answers

Is CVE-2026-124562 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-124562 being exploited in the wild.
How severe is CVE-2026-124562?
High severity, with a CVSS score of 7.5, published 9 November 2026.
Which products and versions are affected?
D-Link DIR-878 1.20B05.
Is there a fix for CVE-2026-124562?
No fixed version is recorded yet. Restrict network access to the HNAP Handler port on the device using firewall rules, or disable HNAP if not required for network management operations. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-124562 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-124562?
Check whether you run D-Link DIR-878 at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

Restrict network access to the HNAP Handler port on the device using firewall rules, or disable HNAP if not required for network management operations.

Technical details

A stack buffer overflow exists in the SetWanSettings function of the HNAP Handler component when processing ConfigDNS/Primary and ConfigDNS/Secondary parameters. The vulnerability can be exploited remotely without authentication via HNAP protocol, allowing an attacker to overwrite stack memory and potentially achieve remote code execution or denial of service. No patch is available as the affected firmware version 1.20B05 is no longer supported.

Affected products

  • D-Link DIR-878 1.20B05

Timeline

  • 2026-11-09: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.