# CVE-2023-32151: D-Link DIR-2640 DestNetwork Command Injection Remote Code Execution Vulnerability

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-03 · Modified: 2024-09-18
- Record: https://cvemate.com/vulnerability/CVE-2023-32151 · JSON: https://cvemate.com/vulnerability/CVE-2023-32151/json

## Description

```text
D-Link DIR-2640 DestNetwork Command Injection Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-2640 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

The specific flaw exists within the handling of the DestNetwork parameter provided to the HNAP1 endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root.
. Was ZDI-CAN-19548.
```

## Signals

- CVSS: 6.8 medium (v3.0, CVE.org) CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.796%, percentile 79.197%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- d-link dir-2640: 1.11B02 (non-US, CA version)
- dlink dir-2640\_firmware: 1.11b02

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-23-543/>
- <https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323>

---

Data as of 2026-12-05T09:08:45.538Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
