CVE-2026-124560

D-Link DIR-878 HNAP prog.cgi GetCAPTCHAsetting heap-based overflow

Published Nov 9, 2026 CVSS 4.0 · 9.3 Critical EPSS 1.5% KEV · Not listed
Description
A vulnerability was found in D-Link DIR-878 1.20B05. This affects the function GetCAPTCHAsetting of the file bin/prog.cgi of the component HNAP Handler. Performing a manipulation of the argument uid results in heap-based buffer overflow. The attack can be initiated remotely. The exploit has been made public and could be used. This vulnerability only affects products that are no longer supported by the maintainer.

Analysis

AI-generated

Technical impact

A heap-based buffer overflow exists in the GetCAPTCHAsetting function of the bin/prog.cgi component of the D-Link DIR-878 router. By manipulating the uid argument, a remote attacker can overflow a heap buffer, potentially gaining arbitrary code execution on the device. The vulnerability is triggered by a malformed uid value and does not require authentication, exposing the router to remote exploitation. The flaw is reported for firmware version 1.20B05 and is limited to unsupported devices.

Affected Systems

The affected product is the D-Link DIR‑878 router running firmware 1.20B05. This device is no longer supported by the manufacturer, meaning no official security updates are provided. Users with this model that have not upgraded to a supported firmware variant remain exposed.

Risk and Exploitability

The vulnerability has a CVSS score of 9.3, indicating critical severity. No EPSS score is available, and it is not listed in the CISA KEV catalog. However, the exploit is publicly available and can be launched remotely from outside the local network. Because the affected router is unsupported, the likelihood of remediation is low, making this a high‑risk issue for any remaining deployments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the router to a supported firmware version that contains the fix once it becomes available.
  • If an upgrade is not possible, use a firewall or router settings to block all external access to the 80/443 admin web ports, effectively isolating the HNAP interface from the internet.
  • Disable the HNAP service or its GetCAPTCHAsetting endpoint in the router configuration to prevent external requests from reaching the vulnerable code.

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': 'none', 'Technical Impact': 'total'}, '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 found in D-Link DIR-878 1.20B05. This affects the function GetCAPTCHAsetting of the file bin/prog.cgi of the component HNAP Handler. Performing a manipulation of the argument uid results in heap-based buffer overflow. The attack can be initiated remotely. The exploit has been made public and could be used. This vulnerability only affects products that are no longer supported by the maintainer.
Title D-Link DIR-878 HNAP prog.cgi GetCAPTCHAsetting heap-based overflow
First Time appeared D-link
D-link dir-878
Weaknesses CWE-119
CWE-122
CPEs cpe:2.3:h:d-link:dir-878:*:*:*:*:*:*:*:*
Vendors & Products D-link
D-link dir-878
References
Metrics cvssV2_0

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

cvssV3_0

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

cvssV3_1

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

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/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-122

    Heap-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, 3:16 AM
Modified
Nov 15, 2026, 2:17 PM