CVE-2025-7909 D-Link DIR-513 Boa Webserver formLanSetupRouterSettings sprintf stack-based overflow
Remote attackers can trigger a stack-based buffer overflow in the Boa Webserver to execute arbitrary code on unsupported D-Link DIR-513 routers.
- 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-7909?
CVE-2025-7909 is a high-severity memory corruption vulnerability in D-Link DIR-513, published on 20 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 1.0. It has been rated as critical. Affected by this issue is the function sprintf of the file /goform/formLanSetupRouterSettings of the component Boa Webserver. The manipulation of the argument curTime leads to stack-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. This vulnerability only affects products that are no longer supported by the maintainer.
Which versions are affected by CVE-2025-7909?
It affects 1 product.
Products include Dlink Dir-513 Firmware.
How do I fix CVE-2025-7909?
No fix has been published for CVE-2025-7909 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-7909 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7909 exists.
Other vulnerabilities in D-Link DIR-513
Sources
Also known as GHSA-w833-57v8-vqcj.