CVE-2026-2958 D-Link DWR-M960 formWsc sub_457C5C stack-based overflow

High 8.7 Published Updated

A remote attacker can trigger a stack-based buffer overflow in the D-Link DWR-M960 router's WSC form handler, 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-2026-2958?

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

Official description

A security vulnerability has been detected in D-Link DWR-M960 1.01.07. Affected is the function sub_457C5C of the file /boafrm/formWsc. Such manipulation of the argument save_apply leads to stack-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed publicly and may be used.

Weakness: CWE-121, CWE-119

Which versions are affected by CVE-2026-2958?

It affects 1 product.

Products include Dlink Dwr-M960 Firmware.

How do I fix CVE-2026-2958?

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

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

Sources

Also known as GHSA-36h6-rv4g-3jg5.

Is CVE-2026-2958 in your software?

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

Check your SBOMs for free