Read the docs

Stack-based buffer overflow in DrayTek Vigor2960 setSWMProfile

Priority HIGH 76CWE-119Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.

Summary

DrayTek Vigor2960 up to and including 1.5.1.6 is affected. A manipulated filename argument in the setSWMProfile function of /cgi-bin/mainfunction.cgi causes a stack-based buffer overflow (CWE-121). A remote attacker with low privileges can exploit it without user interaction, and a public exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-11-19

Description from the CNA

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."

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00854 55th percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed Vigor2960 (DrayTek): 1.5.1.7

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
DrayTekVigor29601.5.1.0; 1.5.1.1; 1.5.1.2; 1.5.1.3; 1.5.1.4; 1.5.1.5; 1.5.1.61.5.1.7Patch availableCNA
  • Vigor2960 VendorDrayTek Affected 1.5.1.0; 1.5.1.1; 1.5.1.2; 1.5.1.3; 1.5.1.4; 1.5.1.5; 1.5.1.6 Fixed in 1.5.1.7 Patch available CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:o:draytek:vigor2960_firmware:*:*:*:*:*:*:*:*——DrayTek
  • cpe:2.3:o:draytek:vigor2960_firmware:*:*:*:*:*:*:*:* Versions — — ·DrayTek

Remediation

Upgrade DrayTek Vigor2960 to version 1.5.1.7, which is the fixed version.

Written with Claude Haiku 5.5 from the sources below · 2026-11-19

  • Fix · CNA Vigor2960 (DrayTek) Fixed in 1.5.1.7

Timeline

  1. 2026-11-18 Threatist record created from CVE-2026-132139
  2. 2026-11-18 Alias added: GHSA-v5r3-j938-vhrp
  3. 2026-11-19 CISA SSVC decision points changed
  4. 2026-11-25 EPSS moved to the 50th–90th percentile

References

  • TI-2020-12150 Command injection in DrayTek Vigor3900, Vigor2960 and Vigor300B KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-06834 Command injection in DrayTek Vigor2960, Vigor3900 and Vigor300B KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-12038 OS command injection in DrayTek Vigor2960 and Vigor300B web interface KEVCVSS 4.0MEDIUM 6.9
  • TI-2021-03424 Local file inclusion in Draytek VigorConnect lets attackers read files KEVCVSS 3.1HIGH 7.5
  • TI-2021-03423 Local file inclusion in Draytek VigorConnect exposes arbitrary files KEVCVSS 3.1HIGH 7.5
  • TI-2026-94242 Stack-based buffer overflow in DrayTek Vigor2960 CGI process CVSS 4.0CRITICAL 9.4
See all 194 →

Sources