Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise admin credentials
-
DeliveryAccess VigorSwitch web management interface
-
ExploitSubmit oversized GVRP portList payload via switch_lan_gvrp endpoint
-
ExecutionTrigger buffer overflow in firmware handler
-
ImpactCrash device (DoS) or redirect execution to attacker code
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires valid administrative credentials for the DrayTek VigorSwitch web management interface - specifically, the attacker must be authenticated as an administrator to reach the switch_lan_gvrp GVRP configuration endpoint where the vulnerable portList parameter is processed. Network reachability to the web management interface (typically TCP port 80 or 443) is also required. The vulnerability does not appear to be reachable without authentication (PR:H per CVSS 4.0 vector). Exploitation is limited by: (1) requirement for prior administrative credential compromise; (2) the management interface must be accessible from the attacker's network position; (3) the affected GVRP code path must be reachable via the web UI, which is standard on these managed switch models. No non-default configuration flags are identified as prerequisites beyond standard web management being enabled. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H) scores 8.6, reflecting a network-reachable flaw with high confidentiality, integrity, and availability impact, but requiring high-privilege (administrative) credentials - a critical moderating factor. The PR:H rating is consistent with the CVE description, which explicitly requires valid administrative credentials for the web management interface, meaning this is not an unauthenticated pre-auth vulnerability. No EPSS score was provided in the source data; given the absence of a public exploit and no KEV listing, opportunistic mass exploitation at this time is not supported by available intelligence. Real-world risk is primarily scoped to scenarios where admin credentials have already been compromised or where the web management interface is inadvertently exposed to untrusted networks - a misconfiguration DrayTek devices are known to be susceptible to in SMB deployments. The high impact scores (VC:H/VI:H/VA:H) are plausible if memory corruption leads to RCE on the switch firmware, but the DoS outcome is more conservatively probable based on available description. No conflicting signals between CVSS vector and description were identified. |
| Exploit ScenarioDerived | An attacker who has obtained valid administrative credentials - through phishing, credential stuffing against an exposed management interface, or lateral movement from a previously compromised network segment - logs into the VigorSwitch web management interface and submits a crafted GVRP port-list payload exceeding the fixed buffer size in switch_lan_gvrp. The overflow corrupts adjacent memory, causing the switch to crash (DoS) or, in an optimistic attacker scenario with control over the overflow contents, overwriting a return address to redirect execution to attacker-controlled code running with firmware-level privileges. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Buffer overflow in DrayTek VigorSwitch's switch_lan_gvrp function exposes multiple managed switch models to denial of service or potential arbitrary command execution from remote, authenticated attackers. The flaw stems from unsafe copying of a user-supplied portList field into an undersized stack or heap buffer within the GVRP handling code - a classic CWE-120 defect reachable via the device's web management interface. No public exploit code and no CISA KEV listing have been identified at time of analysis, and exploitation is gated behind valid administrative credentials, which meaningfully constrains real-world attacker opportunity.
RemediationAI
The primary remediation is to apply firmware updates from DrayTek as described in the vendor's August 2026 security advisory at https://www.draytek.com/about/security-advisory/multiple-vulnerabilities-in-vigorswitch-series-august-2026/. Exact patched firmware version numbers are not confirmed in the available intelligence; consult the advisory directly for the applicable build per model. As an immediate compensating control, restrict access to the web management interface to a dedicated, isolated management VLAN or trusted administrative IP ranges using ACLs or firewall rules - this directly eliminates the network-reachable attack surface since the vulnerability requires reaching the web interface. Disabling remote (WAN-side) management access on internet-facing devices is a high-priority step with no functional trade-off for devices that should only be managed internally. Rotating administrative credentials and enforcing MFA for management access limits the exploitability of this flaw even prior to patching, since PR:H is required.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 28 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the switch_lan_gvrp handler, which processes GARP VLAN Registration Protocol (GVRP) port-list configuration submitted through the web management interface. GVRP (IEEE 802.1Q) is a layer-2 protocol feature used to propagate VLAN membership across a switched network. The root cause is CWE-120 (Buffer Copy Without Checking Size of Input), where the portList parameter is copied into a fixed-size destination buffer without length validation, allowing an oversized input to corrupt adjacent memory. Affected products identified via CPE strings span the DrayTek VigorSwitch G2540XS, P2540XS, FX2120, G2282X, P2282X, Q2300X, PQ2300XB, G2542X, P2542X, and P2542XH, with additional models referenced in tags including the G1280, P1280, P1281X, G1282, P1282, G2121, P2121, PQ2121X, Q2121X, G2280X, P2280X, Q2200X, PQ2200XB, G2100, P2100, G2540X, P2540X, and PX2060 series - indicating the vulnerable code path is shared across the broader VigorSwitch firmware base.
Know when Vigorswitch G2540Xs gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable via web interface with low complexity, but PR:H reflects mandatory admin credentials; scope unchanged as switch firmware impact does not cascade to subsequent systems.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the switch_lan_gvrp function. The vulnerability is caused by unsafe copying of the portList field into an undersized buffer. A remote attacker can trigger this vulnerability via crafted input, causing a denial of service or potentially executing arbitrary commands. Exploitation requires valid administrative credentials for the device's web management interface.
Executive ViewAI
DrayTek VigorSwitch managed switches contain a buffer overflow vulnerability (CVE-2026-71938, CVSS 8.6) in the GVRP protocol handler that allows authenticated attackers with valid administrative credentials to cause denial of service or execute arbitrary commands on affected network infrastructure. Organizations running VigorSwitch devices face potential network outages or infrastructure compromise if administrative credentials are compromised or through insider threats. No vendor patch is currently available, requiring urgent deployment of compensating controls.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict management interface access via firewall rules and network ACLs to authorized administrative workstations only; enforce multi-factor authentication and strong password policies for all administrative accounts; segment management traffic to a dedicated administrative VLAN isolated from production networks; disable GVRP protocol if not operationally required; implement centralized logging and real-time monitoring for management interface access attempts, authentication failures, and GVRP function errors; maintain current backups of switch configurations for rapid recovery from denial of service incidents.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Vigorswitch G2540Xs
View allPre-authentication OS command injection in DrayTek VigorSwitch managed switches lets a remote, unauthenticated attacker
Command injection in DrayTek VigorSwitch's setDevNet function allows authenticated remote attackers to execute arbitrary
Command injection in DrayTek VigorSwitch's setTime function enables authenticated administrators to execute arbitrary OS
Command injection in multiple DrayTek VigorSwitch models enables authenticated administrators to execute arbitrary OS co
Command injection in multiple DrayTek VigorSwitch models' getDetail function enables authenticated remote attackers hold
Command injection in DrayTek VigorSwitch's getVid function allows an authenticated remote administrator to execute arbit
Command injection in multiple DrayTek VigorSwitch managed switch models allows an authenticated remote administrator to
Command injection in the DrayTek VigorSwitch `webBackupAction` function allows authenticated remote attackers to execute
Command injection in the DrayTek VigorSwitch series' pingtrace diagnostic function allows an authenticated administrator
Command injection in DrayTek VigorSwitch's jsonstatus function allows authenticated remote administrators to execute arb
Command injection in DrayTek VigorSwitch's tftp_upgrade function enables authenticated remote administrators to execute
Command injection via the commandTable function affects 28 DrayTek VigorSwitch managed switch models across multiple fir
EUVD-2026-64997
GHSA-x775-m3v2-h228
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB