DrayTek VigorSwitch G2540xs diag_logmail buffer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.2 | $0-$5k | 0.67+ |
Summary
A vulnerability categorized as very critical has been discovered in DrayTek VigorSwitch G2540xs, VigorSwitch P2540xs, VigorSwitch FX2120, VigorSwitch G2282x, VigorSwitch P2282x, VigorSwitch Q2300x, VigorSwitch PQ2300xb, VigorSwitch G2542x, VigorSwitch P2542x, VigorSwitch P2542xh, VigorSwitch PX2060, VigorSwitch G1280, VigorSwitch P1280, VigorSwitch P1281x, VigorSwitch G1282, VigorSwitch P1282, VigorSwitch G2121, VigorSwitch P2121, VigorSwitch PQ2121x, VigorSwitch Q2121x, VigorSwitch G2280x, VigorSwitch P2280x, VigorSwitch Q2200x, VigorSwitch PQ2200xb, VigorSwitch G2100, VigorSwitch P2100, VigorSwitch G2540x and VigorSwitch P2540x. Affected by this issue is the function diag_logmail. Executing a manipulation can lead to buffer overflow.
This vulnerability is registered as CVE-2026-71941. It is possible to launch the attack remotely. No exploit is available.
Details
A vulnerability has been found in DrayTek VigorSwitch G2540xs, VigorSwitch P2540xs, VigorSwitch FX2120, VigorSwitch G2282x, VigorSwitch P2282x, VigorSwitch Q2300x, VigorSwitch PQ2300xb, VigorSwitch G2542x, VigorSwitch P2542x, VigorSwitch P2542xh, VigorSwitch PX2060, VigorSwitch G1280, VigorSwitch P1280, VigorSwitch P1281x, VigorSwitch G1282, VigorSwitch P1282, VigorSwitch G2121, VigorSwitch P2121, VigorSwitch PQ2121x, VigorSwitch Q2121x, VigorSwitch G2280x, VigorSwitch P2280x, VigorSwitch Q2200x, VigorSwitch PQ2200xb, VigorSwitch G2100, VigorSwitch P2100, VigorSwitch G2540x and VigorSwitch P2540x and classified as very critical. This vulnerability affects the function diag_logmail. The manipulation with an unknown input leads to a buffer overflow vulnerability. The CWE definition for the vulnerability is CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the diag_logmail function. The vulnerability is caused by concatenating multiple smtpReceiver email addresses into a fixed-size buffer without checking the remaining buffer size. 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.
The advisory is shared for download at draytek.com. This vulnerability was named CVE-2026-71941 since 08/08/2026. The exploitation appears to be easy. The attack can be initiated remotely. The exploitation requires an enhanced level of successful authentication. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 08/24/2026).
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
Once again VulDB remains the best source for vulnerability data.
Product
Type
Vendor
Name
- VigorSwitch FX2120
- VigorSwitch G1280
- VigorSwitch G1282
- VigorSwitch G2100
- VigorSwitch G2121
- VigorSwitch G2280x
- VigorSwitch G2282x
- VigorSwitch G2540x
- VigorSwitch G2540xs
- VigorSwitch G2542x
- VigorSwitch P1280
- VigorSwitch P1281x
- VigorSwitch P1282
- VigorSwitch P2100
- VigorSwitch P2121
- VigorSwitch P2280x
- VigorSwitch P2282x
- VigorSwitch P2540x
- VigorSwitch P2540xs
- VigorSwitch P2542x
- VigorSwitch P2542xh
- VigorSwitch PQ2121x
- VigorSwitch PQ2200xb
- VigorSwitch PQ2300xb
- VigorSwitch PX2060
- VigorSwitch Q2121x
- VigorSwitch Q2200x
- VigorSwitch Q2300x
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 8.2VulDB Meta Temp Score: 8.2
VulDB Base Score: 9.1
VulDB Temp Score: 9.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 7.2
CNA Vector (VulnCheck): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Buffer overflowCWE: CWE-120 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔒
Timeline
08/08/2026 CVE reserved08/24/2026 Advisory disclosed
08/24/2026 VulDB entry created
08/24/2026 VulDB entry last update
Sources
Advisory: draytek.comStatus: Not defined
CVE: CVE-2026-71941 (🔒)
GCVE (CVE): GCVE-0-2026-71941
GCVE (VulDB): GCVE-100-394780
Entry
Created: 08/24/2026 20:07Changes: 08/24/2026 20:07 (73)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.