8.6high
DrayTek VigorSwitch Multiple Models Buffer Overflow via mail_mailalert
- Severity
- 8.6high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.48% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the mail_mailalert 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| DrayTek Corporation VigorSwitch G2540xs | before 3.9.10 | CVE List |
| DrayTek Corporation VigorSwitch P2540xs | before 3.9.10 | CVE List |
| DrayTek Corporation VigorSwitch FX2120 | before 3.9.10 | CVE List |
| DrayTek Corporation VigorSwitch G2282x | before 2.10.6 | CVE List |
| DrayTek Corporation VigorSwitch P2282x | before 2.10.6 | CVE List |
| DrayTek Corporation VigorSwitch Q2300x | before 2.10.7 | CVE List |
| DrayTek Corporation VigorSwitch PQ2300xb | before 2.10.7 | CVE List |
| DrayTek Corporation VigorSwitch G2542x | before 3.10.6 | CVE List |
| DrayTek Corporation VigorSwitch P2542x | before 3.10.6 | CVE List |
| DrayTek Corporation VigorSwitch P2542xh | before 3.10.6 | CVE List |
| DrayTek Corporation VigorSwitch PX2060 | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch G1280 | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch P1280 | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch P1281x | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch G1282 | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch P1282 | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch G2121 | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch P2121 | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch PQ2121x | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch Q2121x | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch G2280x | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch P2280x | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch Q2200x | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch PQ2200xb | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch G2100 | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch P2100 | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch G2540x | before 2.9.10 | CVE List |
| DrayTek Corporation VigorSwitch P2540x | before 2.9.10 | CVE List |
All scores
| VulnCheck | 8.6high CVSS:4.0 | 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 |
| VulnCheck | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the mail_mailalert 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.
NVD (es)
Múltiples modelos de DrayTek VigorSwitch contienen una vulnerabilidad de desbordamiento de búfer en la función mail_mailalert. La vulnerabilidad es causada por la concatenación de múltiples direcciones de correo electrónico smtpReceiver en un búfer de tamaño fijo sin verificar el tamaño restante del búfer. Un atacante remoto puede activar esta vulnerabilidad a través de una entrada manipulada, causando una denegación de servicio o potencialmente ejecutando comandos arbitrarios. La explotación requiere credenciales administrativas válidas para la interfaz de gestión web del dispositivo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-71942 changed 2026-08-24 | CVE Terms of Use |
| NVD | CVE-2026-71942 changed 2026-10-12 | Public domain |