CVE-2023-32150
D-Link DIR-2640 PrefixLen Command Injection Remote Code Execution Vulnerability.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 26.9%, higher than 98% of all known CVEs. Patch or mitigate before the next change window.
Description
D-Link DIR-2640 PrefixLen 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 PrefixLen 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-19547.
- CVSS 3.0
- 6.8 MEDIUMCVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 26.89% probability · 98th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- dlink/dir-2640 firmware
- Source
- zdi-disclosures@trendmicro.com
EPSS moved from 26.9% on 2 October 2026 to 26.9% on 26 October 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.
References
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323Product, Vendor Advisory
- https://www.zerodayinitiative.com/advisories/ZDI-23-542/Third Party Advisory
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323Product, Vendor Advisory
- https://www.zerodayinitiative.com/advisories/ZDI-23-542/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.