# CVE-2021-43722: D-Link DIR-645 1.03 A1 is vulnerable to Buffer Overflow.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 3.16%, higher than 88% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-31T20:28:00.000Z
- Modified: 2026-06-17T04:11:18.903Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

D-Link DIR-645 1.03 A1 is vulnerable to Buffer Overflow. The hnap_main function in the cgibin handler uses sprintf to format the soapaction header onto the stack and has no limit on the size.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- dlink dir-645_firmware: 1.03

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/luqiut/iot/blob/main/DIR-645%20Stack%20overflow.md> (exploit, third-party-advisory)
- <https://www.dlink.com/en/security-bulletin/> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-43722](https://www.cve.org/CVERecord?id=CVE-2021-43722), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-43722](https://nvd.nist.gov/vuln/detail/CVE-2021-43722), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43722 · Whole record: https://cve.day/CVE-2021-43722.json · Rebuilt by cve.day 2026-11-25T22:24:36.828Z
