# CVE-2026-5815: D-Link DIR-645 hedwig.cgi hedwigcgi_main stack-based overflow

- Severity: High 8.7 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-08T23:15:14.287Z
- Modified: 2026-07-24T09:10:00.153Z
- Weaknesses: CWE-119, CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- D-Link DIR-645: 1.01; 1.02; 1.03

## Every score

- VulDB: CVSS:4.0 8.7 High `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`
- VulDB: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 8.8 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 9.0 Critical `AV:N/AC:L/Au:S/C:C/I:C/A:C/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/Pers1st0/CVE/blob/main/stack-based%20buffer%20overflow%20vulnerability%20exists%20in%20the%20hedwig.cgi%20of%20D-Link%20DIR-645.md#poc> (exploit)
- <https://vuldb.com/vuln/356263> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/356263/cti> (permissions-required, signature)
- <https://vuldb.com/submit/788298> (third-party-advisory)
- <https://github.com/Pers1st0/CVE/blob/main/stack-based%20buffer%20overflow%20vulnerability%20exists%20in%20the%20hedwig.cgi%20of%20D-Link%20DIR-645.md> (related)
- <https://www.dlink.com/> (product)

## Sources

- CVE List: [CVE-2026-5815](https://www.cve.org/CVERecord?id=CVE-2026-5815), CVE Terms of Use, modified 2026-04-13
- NVD: [CVE-2026-5815](https://nvd.nist.gov/vuln/detail/CVE-2026-5815), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-5815 · Whole record: https://cve.day/CVE-2026-5815.json · Rebuilt by cve.day 2026-11-25T22:59:18.351Z
