Summary
A stack-based buffer overflow has been identified in the setSWMProfile function of DrayTek Vigor2960, remotely exploitable. The vendor states that version 1.5.1.7 addresses the issue.
What happened
The setSWMProfile function in /cgi-bin/mainfunction.cgi allows a stack-based buffer overflow (CWE-121, CWE-119) through manipulation of the filename argument. The attack can be carried out remotely. The source states that the exploit has been made public and could be used in attacks; the public case name suggests it requires authentication, and the CVSS vector also reflects low privileges required (PR:L). The CVSS 4.0 score is 9.4 (critical severity, per CNA:VulDB), with vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P.
Why it matters
The CVSS score indicates high impact on confidentiality, integrity and availability, with network access and low attack complexity. According to the source, a public exploit exists. Active exploitation is not recorded in CISA's KEV catalog. The source does not indicate that this is a zero-day.
Affected products and versions
DrayTek Vigor2960, versions 1.5.1.0, 1.5.1.1, 1.5.1.2, 1.5.1.3, 1.5.1.4, 1.5.1.5 and 1.5.1.6 (affected). Version 1.5.1.7 is listed as unaffected.
| Product | Versions | Fixed in |
|---|---|---|
| DrayTek Vigor2960 | 1.5.1.0 | — |
| DrayTek Vigor2960 | 1.5.1.1 | — |
| DrayTek Vigor2960 | 1.5.1.2 | — |
| DrayTek Vigor2960 | 1.5.1.3 | — |
| DrayTek Vigor2960 | 1.5.1.4 | — |
| DrayTek Vigor2960 | 1.5.1.5 | — |
| DrayTek Vigor2960 | 1.5.1.6 | — |
| DrayTek Vigor2960 | 1.5.1.7 | 1.5.1.7 |
Action recommended by the source
The vendor recommends upgrading to version 1.5.1.7, and states that 1.5.1.6 is not the latest Vigor2960 version, that the latest version fixes many security issues, and that another release is planned which should resolve the reported issues. A link to the 1.5.1.7 firmware on the vendor's site (fw.draytek.com.tw) is listed.
Fixed in: 1.5.1.7
Sources and references
- https://vuldb.com/vuln/439439 — CVE Program
- https://vuldb.com/vuln/439439/cti — CVE Program
- https://vuldb.com/cve/CVE-2026-132139 — CVE Program
- https://vuldb.com/submit/1044966 — CVE Program
- https://github.com/yikesoftware/DrayTek_Vigor2960_Security_Analysis/tree/main/cases/DRV2960-0021-authenticated-setswmprofile-filename-stack-overflow — CVE Program
- https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.7/Vigor2960_v1.5.1.7.zip — CVE Program
Weaknesses (CWE): CWE-121, CWE-119
Relevant change history
Published
Advisory published.