CVE-2025-13304 D-Link DWR-M920/DWR-M921/DWR-M960/DWR-M961/DIR-825M formPingDiagnosticRun buffer overflow
Remote attackers can trigger a buffer overflow in D-Link routers via the ping diagnostic feature, potentially leading to arbitrary code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-13304?
CVE-2025-13304 is a high-severity memory corruption vulnerability in D-Link DIR-825M, published on 17 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A security flaw has been discovered in D-Link DWR-M920, DWR-M921, DWR-M960, DWR-M961 and DIR-825M 1.01.07/1.1.47. This vulnerability affects unknown code of the file /boafrm/formPingDiagnosticRun. Performing manipulation of the argument host results in buffer overflow. The attack may be initiated remotely. The exploit has been released to the public and may be exploited.
Which versions are affected by CVE-2025-13304?
It affects 5 products.
Products include Dlink Dir-825m Firmware, Dlink Dwr-M920 Firmware, Dlink Dwr-M921 Firmware, Dlink Dwr-M960 Firmware, Dlink Dwr-M961 Firmware.
How do I fix CVE-2025-13304?
No fix has been published for CVE-2025-13304 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-13304 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-13304 exists.
Other vulnerabilities in D-Link DIR-825M
Sources
Also known as GHSA-7q5f-665m-ch4q.