CVE-2026-138287: Vulnerability in D-Link DSL-2640B

Critical. A flaw has been found in D-Link DSL-2640B 3.0.6.0.41. The impacted element is the function cgiPortMapQrySwitch of the file portmapcfg.cmd of the component Endpoint. This manipulation of the argument pmapCfgName causes os command injection. The attack can be initiated remotely. The exploit has been published and may be used.

CWE-78, CWE-77

Exploitation
None confirmed
Severity
10 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Advisory ID
GHSA-g5cv-72c5-jj3p
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Weakness
CWE-78, CWE-77
Published
29 Nov 2026
Last change
30 Nov 2026

Affected products

Affected versions and the first fixed release

  • D-Link DSL-2640B Version 3.0.6.0.41. No fixed version recorded

Advisories

Vendor and security advisories

Related