CVE-2026-94089

10.0

D-Link · DIR-868L

A stack-based buffer overflow in the D-Link DIR-868L authentication handler allows unauthenticated remote attackers to execute arbitrary code via the id parameter in webfa_authentication.cgi.

Executive summary

A critical stack-based buffer overflow vulnerability in D-Link DIR-868L allows unauthenticated attackers to remotely crash the device or execute arbitrary code.

Vulnerability

This vulnerability resides in the strcpy function within the webfa_authentication.cgi file, which fails to properly validate the length of the id input parameter. Because the handler does not require authentication, an unauthenticated attacker can supply a specially crafted string to trigger a memory corruption event and potentially achieve remote code execution.

Business impact

Successful exploitation of this vulnerability allows for full system compromise, as the attacker can overwrite the return address on the stack to redirect execution flow. Given the CVSS score of 10.0, this represents the highest level of risk, potentially leading to total loss of device control, unauthorized network access, and the ability to use the compromised router as a pivot point for further attacks against the internal network.

Remediation

Immediate Action: As no official patch is currently available, administrators should immediately restrict access to the device web interface, ensuring it is not reachable from the public internet. If remote management is required, it should be transitioned to a secure VPN tunnel rather than exposed directly.

Proactive Monitoring: Monitor device logs for unusual spikes in 500-series HTTP errors or unexpected device reboots, which may indicate that an attacker is testing or executing the buffer overflow exploit.

Compensating Controls: Deploy a Web Application Firewall (WAF) or an Intrusion Prevention System (IPS) with rules configured to inspect and block excessively long strings sent to the id parameter of CGI scripts.

Exploitation status

Public Exploit Available: Yes, a proof-of-concept script has been published via a GitHub repository.

Analyst recommendation

This vulnerability presents a critical security risk due to its remote, unauthenticated exploit vector and the availability of public exploit code. Organizations using the D-Link DIR-868L must prioritize isolating these devices from external networks until a vendor-supplied firmware update is released and applied.

More D-Link CVEs all →

History

  1. Disclosed CVE record published
  2. Collected by CVE Brief via github
  3. Analyst report written
  4. Published in the daily brief critical section

Sources

Originally found and disclosed by Walnut1337 (VulDB User), per the CVE Program record.