CVE-2025-3785 D-Link DWR-M961 Authorization Interface formStaticDHCP stack-based overflow

High 8.7 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the D-Link DWR-M961 router's DHCP interface, potentially executing arbitrary code.

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-3785?

CVE-2025-3785 is a high-severity memory corruption vulnerability in D-Link DWR-M961, published on 18 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability has been found in D-Link DWR-M961 1.1.36 and classified as critical. This vulnerability affects unknown code of the file /boafrm/formStaticDHCP of the component Authorization Interface. The manipulation of the argument Hostname leads to stack-based buffer overflow. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 1.1.49 is able to address this issue. It is recommended to upgrade the affected component.

Weakness: CWE-121, CWE-119

Which versions are affected by CVE-2025-3785?

It affects 1 product.

Products include Dlink Dwr-M961 Firmware.

How do I fix CVE-2025-3785?

No fix has been published for CVE-2025-3785 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-3785 being exploited?

There is no known exploitation of CVE-2025-3785 in the wild and no public exploit code.

Sources

Also known as GHSA-w7x5-wj8r-qp32.

Is CVE-2025-3785 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free