Platform
dlink
Component
dlink
CVE-2026-5815 describes a stack-based buffer overflow vulnerability found in the D-Link DIR-645 router. This flaw resides within the hedwigcgi_main function of the /cgi-bin/hedwig.cgi file, allowing a remote attacker to potentially trigger a crash or execute arbitrary code. The vulnerability impacts D-Link DIR-645 routers running versions 1.01 through 1.03, and it’s important to note that these products are no longer supported by the vendor.
A critical vulnerability has been detected in the D-Link DIR-645 router (firmware versions 1.01, 1.02, and 1.03), identified as CVE-2026-5815. This vulnerability resides within the 'hedwigcgi_main' function of the '/cgi-bin/hedwig.cgi' file and allows for a stack-based buffer overflow. This means a remote attacker could potentially execute malicious code on the device, compromising network security. The vulnerability is rated with a CVSS score of 8.8, indicating a high risk. Importantly, D-Link no longer provides support for this router model, meaning no security updates will be released to mitigate this vulnerability. The public availability of the exploit makes exploitation more accessible to attackers.
The exploit for CVE-2026-5815 is publicly available, making it easier for attackers with technical skills to utilize it. The vulnerability is exploited through manipulation of the 'hedwigcgi_main' function, leading to a stack-based buffer overflow. A remote attacker can send specially crafted requests to the router to trigger this overflow and potentially gain control of the device. The lack of vendor support increases the risk, as no security patches are available to fix the vulnerability. The remote nature of the exploitation means the attack can originate from anywhere on the internet.
Exploit Status
EPSS
0.09% (26% percentile)
CISA SSVC
Given that D-Link no longer supports the DIR-645, the primary mitigation is to replace the device with a more modern, actively supported router. If immediate replacement isn't possible, isolate the DIR-645 from the main network, using it only for non-critical devices without internet access. Monitoring the network for suspicious activity can also help detect potential attacks. It's crucial to understand that these measures are palliative and do not eliminate the underlying vulnerability. Continued exposure to risk is inevitable until the device is replaced.
Este dispositivo ya no recibe soporte del fabricante. Se recomienda reemplazar el dispositivo por uno actualizado y con soporte activo para mitigar el riesgo de explotación. Si no es posible, aislar el dispositivo de la red y deshabilitar el acceso remoto.
Vulnerability analysis and critical alerts directly to your inbox.
It's a unique identifier for this security vulnerability.
The DIR-645 is an older model and has reached the end of its support lifecycle.
Isolate the router from the main network and monitor for suspicious activity.
No, due to the public vulnerability and lack of support, it is not safe.
Look for unusual network activity, such as unexpected data traffic or unknown devices.
CVSS Vector
Upload your dependency file and we'll tell you instantly if this and other CVEs hit you.