CVE-2026-2857 D-Link DWR-M960 Port Forwarding Configuration Endpoint formPortFw sub_423E00 stack-based overflow

High 8.7 Published Updated

A stack-based buffer overflow in the D-Link DWR-M960 router allows remote attackers to execute arbitrary code via the port forwarding configuration endpoint.

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-2026-2857?

CVE-2026-2857 is a high-severity memory corruption vulnerability in D-Link DWR-M960, published on 20 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was determined in D-Link DWR-M960 1.01.07. Affected by this issue is the function sub_423E00 of the file /boafrm/formPortFw of the component Port Forwarding Configuration Endpoint. This manipulation of the argument submit-url causes stack-based buffer overflow. Remote exploitation of the attack is possible. The exploit has been publicly disclosed and may be utilized.

Weakness: CWE-121, CWE-119

Which versions are affected by CVE-2026-2857?

It affects 1 product.

Products include Dlink Dwr-M960 Firmware.

How do I fix CVE-2026-2857?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-2857 exists.

Sources

Also known as GHSA-5mq8-87c9-qfhc.

Is CVE-2026-2857 in your software?

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

Check your SBOMs for free