# CVE-2023-51627: D-Link DCS-8300LHV2 ONVIF Duration Stack-Based Buffer Overflow Remote Code Execution Vulnerability

- Severity: High 8.0 (CVSS:3.0, scored by zdi) `CVSS:3.0/AV:A/AC:L/PR:L/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): 1.16%, higher than 67% of CVEs (2026-12-01)
- Published: 2024-05-03T02:15:48.312Z
- Modified: 2026-06-17T06:41:21.387Z
- Weaknesses: CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: zdi

## Description

D-Link DCS-8300LHV2 ONVIF Duration Stack-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DCS-8300LHV2 IP cameras. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

The specific flaw exists within the parsing of Duration XML elements. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21321.

(As written by CVE List.)

## Affected

- D-Link DCS-8300LHV2: 1.06.01
- dlink dcs-8300lvh2_firmware: 1.06.01
- dlink dcs-8300lhv2_firmware: before 1.07.02

## Every score

- zdi: CVSS:3.0 8.0 High `CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.0 High `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-24-047/> (third-party-advisory)
- <https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10370> (vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2023-51627 · Whole record: https://cve.day/CVE-2023-51627.json · Rebuilt by cve.day 2026-11-25T22:58:33.872Z
