CVE-2026-82592

9.9

D-Link · DIR-825M

A stack-based buffer overflow and command injection vulnerability in the D-Link DIR-825M disk formatting endpoint allows authenticated remote attackers to execute arbitrary code.

Executive summary

The D-Link DIR-825M router is vulnerable to remote code execution due to improper input validation in the disk formatting handler, posing a critical risk to network security.

Vulnerability

This vulnerability consists of a stack-based buffer overflow and command injection triggered via the partition parameter in the /boafrm/formDiskFormat endpoint. The flaw allows an authenticated attacker to inject shell metacharacters or overflow the stack to gain root-level command execution.

Business impact

A successful exploitation of this vulnerability grants an attacker full control over the router with root privileges. This could lead to total compromise of network traffic, unauthorized access to internal resources, and permanent denial of service for the device. Given the CVSS score of 9.9, this vulnerability represents an extremely high risk to operational continuity and data confidentiality.

Remediation

Immediate Action: Update the firmware of the D-Link DIR-825M to the latest available version provided by the manufacturer. If no patch is currently available, immediately restrict access to the web management interface.

Proactive Monitoring: Review web access logs for anomalous POST requests directed at the /boafrm/formDiskFormat endpoint, specifically monitoring for unusually long partition parameters or shell metacharacters.

Compensating Controls: Implement access control lists (ACLs) to limit management interface access to trusted administrative IP addresses only. A Web Application Firewall (WAF) may be configured to block requests containing suspicious characters like semicolons or pipes in the partition parameter.

Exploitation status

Public Exploit Available: Yes — a published proof-of-concept exists and is documented in the research write-up referenced in the CVE record.

Analyst recommendation

Due to the severity of this flaw and the availability of public exploitation details, it is imperative that administrators take immediate action. Restricting management access and applying the necessary firmware updates are the only effective ways to mitigate the risk of full device compromise and potential lateral movement within the network.

More D-Link CVEs

Sources

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