Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid admin credentials
-
DeliveryAuthenticate to web management interface
-
ExploitSubmit crafted pingtrace request with oversized fields
-
ExecutionTrigger CWE-120 buffer overflow
-
PersistOverwrite return address or control data
-
ImpactExecute arbitrary commands as management process
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 possession of valid administrative credentials for the DrayTek VigorSwitch web management interface - confirmed by both the CVE description and the CVSS 4.0 PR:H metric. No special non-default configuration is required beyond having the management interface reachable and an administrative account available to authenticate with. The specific vulnerable entry point is the pingtrace diagnostic function, accessible via the web UI to authenticated administrators. Exploitation is impossible without network reachability to the management interface (HTTP or HTTPS port); network segmentation that places the management plane on an isolated VLAN inaccessible from untrusted hosts eliminates remote exploitation. Additionally, an attacker without administrative credentials cannot trigger the vulnerability - credential compromise or insider access is a mandatory prerequisite. |
| Impact | The CVSS 4.0 score of 8.6 (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) reflects a high-severity finding where the single meaningful control is the PR:H authentication requirement - an attacker must possess valid administrative credentials before the vulnerability is reachable. This prerequisite substantially constrains opportunistic or mass exploitation: the vulnerability is not directly weaponizable from the internet without a prior credential compromise step. No CISA KEV listing is present in the available intelligence, no public exploit code has been identified, and no EPSS score was provided, so exploitation probability cannot be quantified beyond what the CVSS signals suggest. The full VC:H/VI:H/VA:H impact triad means that once credentials are obtained, the attacker achieves complete control of the affected switch - a serious secondary-stage escalation path in any enterprise or campus network. The wide model footprint (approximately 30 VigorSwitch variants across G, P, PQ, Q, and FX series) amplifies aggregate exposure for organizations running mixed VigorSwitch deployments. There is no signal conflict between the CVSS vector and the CVE description; both consistently confirm network vector, no complexity barrier, and an administrative credential gate. |
| Exploit ScenarioDerived | An attacker who has obtained DrayTek VigorSwitch administrative credentials - through phishing, credential stuffing against a shared password, or lateral movement from a previously compromised host - authenticates to the web management interface and submits a crafted pingtrace request with an oversized host, count, or interval value. The concatenation of these fields exhausts the fixed-size buffer, overwriting adjacent stack memory and redirecting execution to attacker-controlled shellcode or ROP chain, yielding arbitrary command execution at the management process privilege level. No public exploit code is identified at time of analysis, but the straightforward CWE-120 root cause is well-understood and exploit development for embedded firmware targets of this class is within reach of capable threat actors. |
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 pingtrace diagnostic function allows authenticated remote attackers to cause denial of service or achieve arbitrary command execution across a broad range of VigorSwitch hardware models. The flaw arises from absent length validation when user-supplied host, count, and interval parameters are concatenated into a statically allocated buffer in the web management firmware. No public exploit is identified at time of analysis, and exploitation is gated behind valid administrative credentials, but the severity of achievable impact - full device compromise - warrants prompt patching on any network where VigorSwitch units are deployed.
RemediationAI
Apply the firmware update published by DrayTek in their August 2026 security advisory at https://www.draytek.com/about/security-advisory/multiple-vulnerabilities-in-vigorswitch-series-august-2026/. Exact fixed firmware version numbers are not specified in the available intelligence and must be obtained directly from the DrayTek advisory for each affected model. As an interim compensating control, restrict access to the web management interface (HTTP/HTTPS) by binding it exclusively to a dedicated management VLAN and applying ACLs that permit connections only from authorized administrator source IP addresses - this eliminates the network reachability prerequisite without requiring a firmware update but does not remove the vulnerability itself. If remote web management is not operationally required, disable it entirely via the device's management access settings; note that this may affect legitimate administrative workflows. Strengthen administrative credentials across all VigorSwitch units (unique strong passwords per device, avoid shared credentials) to reduce the risk that credential compromise leads to exploitation. Audit management interface exposure and confirm no VigorSwitch management ports are directly reachable from untrusted network segments.
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 is rooted in CWE-120 (Buffer Copy without Checking Size of Input - Classic Buffer Overflow), occurring within the pingtrace diagnostic handler of the DrayTek VigorSwitch web management interface. The firmware concatenates three user-controlled input fields - host, count, and interval - into a fixed-size stack or heap buffer without first validating the combined length. On embedded network device firmware, such overflows commonly overwrite adjacent control data including return addresses or function pointers, enabling arbitrary code execution at the privilege level of the management process. Affected CPEs confirmed by VulnCheck span at least ten VigorSwitch model families: G2540XS, P2540XS, FX2120, G2282X, P2282X, Q2300X, PQ2300XB, G2542X, P2542X, and P2542XH. Advisory tags enumerate approximately 30 total model variants, indicating the vulnerable pingtrace code is shared across the broader VigorSwitch firmware lineage. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) confirms network delivery without complexity prerequisites once credentials are held.
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 delivery confirmed; administrative credentials required (PR:H); no scope change as impact is contained to the vulnerable switch; full CIA impact once credentials are held.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the pingtrace function. The vulnerability is caused by missing length checks when the host, count, and interval fields are concatenated into a fixed-size 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
A high-severity buffer overflow in DrayTek VigorSwitch's pingtrace diagnostic function enables authenticated administrators to cause denial of service or achieve arbitrary code execution, potentially compromising critical network infrastructure. Organizations deploying VigorSwitch units face operational continuity and security risks until a vendor patch becomes available.
Until vendor patch availability: Restrict administrative access to VigorSwitch management interfaces via network segmentation and IP whitelisting; disable pingtrace diagnostic function if operationally feasible; implement continuous monitoring of diagnostic function usage; require multi-factor authentication for administrative access where supported.
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-64993
GHSA-6w7v-x68g-7x9r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB