Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.org
A vulnerability was detected in D-Link DIR-645 1.01/1.02/1.03. Impacted is the function hedwigcgi_main of the file /cgi-bin/hedwig.cgi. The manipulation results in stack-based buffer overflow. The attack can be launched remotely. The exploit is now public and may be used. This vulnerability only affects products that are no longer supported by the maintainer.
AnalysisAI
Stack-based buffer overflow in D-Link DIR-645 router (versions 1.01, 1.02, 1.03) via hedwigcgi_main function in /cgi-bin/hedwig.cgi allows authenticated remote attackers to achieve complete system compromise. Exploitation requires low-privilege credentials but no user interaction. Publicly available exploit code exists. Product is end-of-life with no vendor support, making remediation limited to device replacement or network isolation.
Technical ContextAI
CWE-121 stack-based buffer overflow triggered through unsanitized input to hedwigcgi_main handler in hedwig.cgi CGI script. CVSS 4.0 vector PR:L indicates authenticated attack vector. Affects CPE cpe:2.3:a:d-link:dir-645 across firmware versions 1.01-1.03. Overflow enables arbitrary code execution in router context.
RemediationAI
No vendor-released patch identified at time of analysis; D-Link has discontinued support for DIR-645 hardware per vendor statement. Primary recommendation: replace device with currently supported router model from active product line. Interim mitigation: disable remote administration interfaces, restrict /cgi-bin/hedwig.cgi access via firewall ACLs permitting only trusted management IPs, implement network segmentation isolating device from critical assets, enforce strong authentication credentials, monitor for unauthorized access attempts. Consult D-Link EOL policy and migration guidance at https://www.dlink.com/. Detailed technical writeup and proof-of-concept analysis available at https://github.com/Pers1st0/CVE/blob/main/stack-based%20buffer%20overflow%20vulnerability%20exists%20in%20the%20hedwig.cgi%20of%20D-Link%20DIR-645.md and https://vuldb.com/vuln/356263.
Same weakness CWE-121 – Stack-based Buffer Overflow
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-20809