CVE-2026-4486

8.8

D-Link · DIR-513

A stack-based buffer overflow in the D-Link DIR-513 web service allows remote authenticated attackers to trigger memory corruption via the curTime parameter.

Executive summary

A remote stack-based buffer overflow vulnerability in D-Link DIR-513 firmware version 1.10 poses a severe risk of total system compromise.

Vulnerability

The flaw exists in the formEasySetPassword function within the /goform/formEasySetPassword endpoint. An authenticated attacker can send a crafted HTTP POST request containing a malicious curTime argument to trigger a stack-based buffer overflow, resulting in memory corruption.

Business impact

Successful exploitation of this vulnerability can lead to a complete compromise of the affected router, potentially allowing an attacker to execute arbitrary code with elevated privileges. Given the CVSS score of 8.8, this represents a high-severity risk that could facilitate unauthorized network access, interception of traffic, or the redirection of internal communications. As the device is no longer supported by the vendor, the lack of official security updates significantly increases the long-term risk to organizational infrastructure.

Remediation

Immediate Action: Because the product is end-of-life and no official patch is available, the most effective remediation is to retire the device and replace it with a supported model. If immediate replacement is impossible, restrict access to the web management interface to trusted internal segments only.

Proactive Monitoring: Monitor network traffic for unusual POST requests directed at the /goform/formEasySetPassword endpoint. Review system logs for signs of process crashes or unexpected service restarts that may indicate attempted buffer overflow exploitation.

Compensating Controls: Deploy a Web Application Firewall (WAF) or an Intrusion Prevention System (IPS) configured to inspect and block HTTP requests containing overly long strings in the curTime parameter.

Exploitation status

Public Exploit Available: Yes, a functional Python proof-of-concept script is available via the GitHub repository referenced in the vulnerability research write-up.

Analyst recommendation

The presence of a functional proof-of-concept, combined with the fact that D-Link no longer provides security support for this device, necessitates immediate action. Organizations currently utilizing the D-Link DIR-513 should prioritize the decommissioning of these units to prevent potential remote code execution and network compromise. If the hardware cannot be retired immediately, strict network segmentation and perimeter filtering are required to mitigate the risk of remote exploitation.

More D-Link CVEs

Sources

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