CVE-2025-7945 D-Link DIR-513 formSetWanDhcpplus buffer overflow
Remote attackers can trigger a buffer overflow in the D-Link DIR-513 router's DHCP configuration interface, potentially executing arbitrary code on this unsupported device.
- 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-7945?
CVE-2025-7945 is a high-severity memory corruption vulnerability in D-Link DIR-513, published on 21 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was found in D-Link DIR-513 up to 20190831. It has been declared as critical. This vulnerability affects the function formSetWanDhcpplus of the file /goform/formSetWanDhcpplus. The manipulation of the argument curTime leads to buffer overflow. The attack can be initiated remotely. This vulnerability only affects products that are no longer supported by the maintainer.
Which versions are affected by CVE-2025-7945?
How do I fix CVE-2025-7945?
No fix has been published for CVE-2025-7945 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-7945 being exploited?
There is no known exploitation of CVE-2025-7945 in the wild and no public exploit code.
Sources
Also known as GHSA-49rm-7f9x-mx4g.