CVE-2026-6012 D-Link DIR-513 POST Request formSetPassword buffer overflow
Remote attackers can exploit a buffer overflow in the password setting handler of unsupported D-Link DIR-513 routers to execute 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-2026-6012?
CVE-2026-6012 is a high-severity memory corruption vulnerability in D-Link DIR-513, published on 10 Apr 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 DIR-513 1.10. This affects the function formSetPassword of the file /goform/formSetPassword of the component POST Request Handler. The manipulation of the argument curTime leads to buffer overflow. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used. This vulnerability only affects products that are no longer supported by the maintainer.
Which versions are affected by CVE-2026-6012?
It affects 1 product.
Products include Dlink Dir-513 Firmware.
How do I fix CVE-2026-6012?
No fix has been published for CVE-2026-6012 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-6012 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-6012 exists.
Other vulnerabilities in D-Link DIR-513
Sources
Also known as GHSA-x6gx-rmhg-wc3f.