CVE-2026-124561

D-Link DIR-878 HNAP prog.cgi SetVLANSettings stack-based overflow

Published Nov 9, 2026 CVSS 4.0 · 8.7 High EPSS 1.1% KEV · Not listed
Description
A vulnerability was determined in D-Link DIR-878 1.20B05. This impacts the function SetVLANSettings of the file prog.cgi of the component HNAP Handler. Executing a manipulation of the argument VID can lead to stack-based buffer overflow. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized. This vulnerability only affects products that are no longer supported by the maintainer.

Analysis

AI-generated

Technical impact

The vulnerability is a stack-based buffer overflow in the SetVLANSettings function of prog.cgi, part of D-Link’s HNAP handler. An attacker can supply a crafted VID argument over the network, causing a stack overflow that permits execution of arbitrary code on the target router. This flaw maps to CWE-119 and CWE-121 and enables remote attackers to gain full control of the affected device.

Affected Systems

The issue affects D-Link DIR-878 routers running firmware 1.20B05 or earlier versions. These devices are no longer supported by the vendor and therefore lack official security updates.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, and although EPSS is not available this flaw is publicly disclosed and can be exploited remotely. The vulnerability is not listed in CISA’s KEV catalog, but the lack of an available patch and public exploits elevate the risk for any remaining DIR‑878 routers exposed to the Internet, allowing attackers immediate remote code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official firmware update that addresses the buffer overflow.
  • If no update is available, disable remote web management or restrict access to the router’s administration interface to trusted IPs only.
  • Block or restrict remote inbound traffic to the HNAP service (typically HTTP/HTTPS) using firewall rules or network segmentation.
  • Monitor router logs for abnormal VLAN configuration attempts and anomalous traffic that may indicate exploitation.

Generated by OpenCVE AI on November 9, 2026 at 04:21 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': 'poc', '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 determined in D-Link DIR-878 1.20B05. This impacts the function SetVLANSettings of the file prog.cgi of the component HNAP Handler. Executing a manipulation of the argument VID can lead to stack-based buffer overflow. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized. This vulnerability only affects products that are no longer supported by the maintainer.
Title D-Link DIR-878 HNAP prog.cgi SetVLANSettings stack-based overflow
First Time appeared D-link
D-link dir-878
Weaknesses CWE-119
CWE-121
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-121

    Stack-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 15, 2026, 1:22 PM
Reserved
Nov 8, 2026, 2:46 PM
Status
Deferred
Published
Nov 9, 2026, 4:17 AM
Modified
Nov 15, 2026, 2:17 PM