Automated Threat Modeling

D-Link DIR-822K and DWR-M920 CVE-2025-13547 Memory Corruption Vulnerability: Brief Summary and Technical Review

CVE-2025-13547 is a critical memory corruption vulnerability in D-Link DIR-822K and DWR-M920 routers. This summary covers the affected firmware versions, the technical details of the flaw in the /boafrm/formDdns endpoint, and D-Link's security history. No patch or detection methods are currently available.

CVE Analysis

8 min read

ZeroPath CVE Analysis
ZeroPath CVE Analysis

2025-11-23

D-Link DIR-822K and DWR-M920 CVE-2025-13547 Memory Corruption Vulnerability: Brief Summary and Technical Review
Experimental AI-Generated Content

This CVE analysis is an experimental publication that is completely AI-generated. The content may contain errors or inaccuracies and is subject to change as more information becomes available. We are continuously refining our process.

If you have feedback, questions, or notice any errors, please reach out to us.

[email protected]

Introduction

Remote attackers can take full control of D-Link DIR-822K and DWR-M920 routers through a critical memory corruption flaw in the web interface. Public exploit code is already available, so unpatched devices are at immediate risk of compromise and persistent network intrusion.

D-Link is a major networking hardware vendor with millions of devices deployed worldwide. Its DIR and DWR series routers are common in homes and small businesses, so a flaw in them affects individual users and organizations alike.

Technical Information

CVE-2025-13547 is a stack-based buffer overflow in the /boafrm/formDdns endpoint of D-Link DIR-822K and DWR-M920 routers running firmware version 1.00_20250513164613 or 1.1.50. An attacker triggers it by sending an HTTP request with a submit-url parameter whose value exceeds the allocated buffer size. The firmware copies that value into a fixed-size stack buffer without proper bounds checking, and memory is corrupted.

The root cause is improper input validation of the submit-url parameter. The vulnerable code does not check the length of the user-supplied value before copying it to the stack. An attacker can therefore overwrite adjacent memory, including function return addresses or control data, which can lead to arbitrary code execution or denial of service. The vulnerability is classified as CWE-119 (improper restriction of operations within the bounds of a memory buffer).

Exploitation requires no authentication. Any remote attacker with network access to the router's web interface can send a malicious request to /boafrm/formDdns and trigger the overflow. Public exploit code is available and can be used to automate attacks.

Affected Systems and Versions

  • D-Link DIR-822K, firmware version 1.00_20250513164613 and earlier
  • D-Link DWR-M920, firmware version 1.1.50 and earlier

On all of these versions, the attack goes through the submit-url parameter of the /boafrm/formDdns endpoint.

Vendor Security History

D-Link has a history of buffer overflow and remote code execution vulnerabilities in its router firmware, including CVE-2020-29557 and multiple buffer overflow issues disclosed in 2024 and 2025. Patch response times have varied, and end-of-life policies often leave older devices without security updates. The DIR-822K reached end of support in February 2023 and will not receive further patches.

References

Detect & fix
what others miss

Works with
  • GitHub
  • GitLab
  • Bitbucket
  • Azure DevOps Services
  • Gerrit
  • CVS
  • Jira
  • Linear
  • Slack
  • Security Compass
Explore integrations
Security magnifying glass visualization