DrayTek Vigor2960 mainfunction.cgi setSWMProfile stack-based overflow
- State
- Published
- Severity
- 9.4 Critical
- Published
- Nov 18, 2026
- Updated
- Nov 19, 2026
- Reserved
- Nov 18, 2026
Description
A weakness has been identified in DrayTek Vigor2960 up to 1.5.1.6. Affected is the function setSWMProfile of the file /cgi-bin/mainfunction.cgi. Executing a manipulation of the argument filename can lead to stack-based buffer overflow. The attack may be performed from remote. The exploit has been made available to the public and could be used for attacks. Upgrading to version 1.5.1.7 is able to address this issue. It is recommended to upgrade the affected component. The vendor recommends: "1.5.1.6 isn't the latest version of 2960, the latest version fixes many security issues. And we have another one in our release plan which should solve the issues reported."
| Product | Versions |
|---|---|
| Vigor2960 DrayTek | 1.5.1.0 Affected1.5.1.1 Affected1.5.1.2 Affected1.5.1.3 Affected1.5.1.4 Affected1.5.1.5 Affected1.5.1.6 Affected1.5.1.7 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.4 Critical | VulDB | |
| 3.1 | 9.9 Critical | VulDB | |
| 3.0 | 9.9 Critical | VulDB | |
| 2.0 | 9.0 High | VulDB |
Weaknesses
References
- VDB-439439 | DrayTek Vigor2960 mainfunction.cgi setSWMProfile stack-based overflowVulnerability DatabaseTechnical Details
- VDB-439439 | CTI Indicators (IOB, IOC, IOA)Detection RuleSign-In Required
- CVE-2026-132139 | CVE Analysis and ReportThird-Party Advisory
- Submit #1044966 | DrayTek Vigor2960 Vigor2960 1.5.1.6 (revision 8218) Authenticated setSWMProfile Filename Stack OverflowThird-Party Advisory
- https://github.com/yikesoftware/DrayTek_Vigor2960_Security_Analysis/tree/main/cases/DRV2960-0021-authenticated-setswmprofile-filename-stack-overflowExploit
- https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.7/Vigor2960_v1.5.1.7.zipPatch
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.