Skip to main content

DrayTek Vigor2960 EUVDEUVD-2026-129285

| CVE-2026-132139 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-11-18 VulDB GHSA-v5r3-j938-vhrp
8.6
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid web credentials
  2. Delivery
    Reach /cgi-bin/mainfunction.cgi remotely
  3. Exploit
    Call setSWMProfile with overlong filename
  4. Execution
    Overflow stack buffer (CWE-121)
  5. Impact
    Execute code or crash router

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires authenticated access to the Vigor2960 management interface (CVSS PR:L) and the ability to reach the /cgi-bin/mainfunction.cgi endpoint over the network, then invoke the setSWMProfile function with a manipulated 'filename' argument. Limiting factors: valid credentials are needed, so an unauthenticated internet attacker cannot trigger it directly; exposure is greatly increased only where the web management interface is reachable from untrusted networks. Affected deployments are Vigor2960 running firmware up to 1.5.1.6; the fix is upgrading to 1.5.1.7, which the vendor indicates is still not the final release addressing all reported issues.

Impact

This is a credible this-week priority rather than a top-tier emergency. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with high impact across confidentiality, integrity and availability (VC/VI/VA:H) and high subsequent-system impact (SC/SI/SA:H) scores 8.6, and the Exploit Maturity is marked E:P (proof-of-concept). The vector's PR:L means exploitation requires some authenticated access - the public exploit reference path itself is labeled 'authenticated-setswmprofile', consistent with PR:L - so this is not an unauthenticated internet-wide drive-by. The VulDB 'this_week' decision label aligns with a network-reachable, low-complexity, high-impact flaw that nonetheless needs valid credentials. Notable gaps: no EPSS score and no CISA KEV entry are provided, and the input states the PoC is a reference only and not verified as working exploit code, so active exploitation is not confirmed. The main conflicting/soft signal is that CVSS subsequent-system scope is High while the underlying evidence only describes a stack overflow in one CGI handler - treat the SC/SI/SA:H as the vendor-supplied rating, not independently verified mechanism.

Exploit ScenarioDerived

An attacker who already holds valid credentials to the Vigor2960 web interface sends a crafted request to /cgi-bin/mainfunction.cgi invoking setSWMProfile with an overlong 'filename' argument, overflowing a stack buffer (CWE-121) to crash the service or execute code on the router. A public PoC reference exists (labeled authenticated) but is not verified as working exploit code; with AV:N/AC:L the request is remotely deliverable and low-complexity once authenticated.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Stack-based buffer overflow in DrayTek Vigor2960 firmware up to and including 1.5.1.6 allows remote, authenticated users to corrupt memory and potentially execute code by supplying a manipulated 'filename' argument to the setSWMProfile function in /cgi-bin/mainfunction.cgi. Exploitation requires valid credentials on the router's management interface and network reachability to that CGI endpoint, so an unauthenticated internet attacker cannot trigger it directly. Vendor firmware v1.5.1.7 is the identified fix, though the vendor notes 1.5.1.6 was not the latest release and a further build is planned; a public PoC reference exists but is not verified as working exploit code, and no confirmed active exploitation has been reported, placing this at this-week priority rather than emergency.

RemediationAI

Vendor-released patch: firmware v1.5.1.7, distributed as https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.7/Vigor2960_v1.5.1.7.zip; upgrading is the recommended remedy and the vendor advises that 1.5.1.6 is not the latest build and that an additional release is planned to fully cover the reported issues, so re-check firmware availability after v1.5.1.7. Because exploitation requires authenticated access (CVSS PR:L) and reachability to /cgi-bin/mainfunction.cgi, reduce exposure in the interim by removing the Vigor2960 web management interface from untrusted networks, restricting it to trusted administrative networks or VPN, and limiting and auditing administrative credentials - at the cost that remote administration must go through those trusted paths. Advisory details are at https://vuldb.com/vuln/439439 and the public analysis at https://github.com/yikesoftware/DrayTek_Vigor2960_Security_Analysis/tree/main/cases/DRV2960-0021-authenticated-setswmprofile-filename-stack-overflow.

Affected VersionsENISA

Vigor2960 1.5.1.2
Vigor2960 1.5.1.1
Vigor2960 1.5.1.0
Vigor2960 1.5.1.3
Vigor2960 1.5.1.5
Vigor2960 1.5.1.6
Vigor2960 1.5.1.4

Affected Packages

euvd vigor2960 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the embedded web management CGI binary shipped with DrayTek Vigor2960 routers, specifically the setSWMProfile function in /cgi-bin/mainfunction.cgi, which processes a caller-supplied 'filename' argument. The weakness class is CWE-121 (stack-based buffer overflow): a fixed-size buffer allocated on the stack receives attacker-influenced data without adequate bounds enforcement, allowing adjacent stack memory such as saved registers and return addresses to be overwritten. The trigger is described in the available sources as manipulation of the filename argument, and public analysis material (DRV2960-0021) frames the case as an authenticated setSWMProfile filename overflow; the sources do not describe the exact copy routine or the precise overflow offset. The CPE cpe:2.3:a:draytek:vigor2960:*:*:*:*:*:*:*:* is unversioned, so every firmware build at or below 1.5.1.6 should be treated as affected, and because the flaw sits in a network-facing CGI handler the CVSS 4.0 vector rates it AV:N/AC:L/PR:L/UI:N with high impact to confidentiality, integrity and availability, matching the assessor's CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Know when Vigor2960 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 8.6 CRITICAL
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
vuln.today AI 8.8 HIGH

Network-reachable CGI (AV:N), low complexity (AC:L), but the public exploit and PR:L indicate authenticated access (PR:L); stack overflow yields code execution on the device, so C/I/A:H.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

3
Severity Changed
Nov 18, 2026 - 21:22 NVD
CRITICAL HIGH
CVSS changed
Nov 18, 2026 - 21:22 NVD
9.4 (CRITICAL) 8.6 (HIGH)
CVE Published
Nov 18, 2026 - 20:45 cve.org
HIGH 8.6

DescriptionCVE.org

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

Technical POC Analysis

CWE-121, stack-based buffer overflow, in the vendor's own CGI binary /www/cgi-bin/mainfunction.cgi (ELF32 little-endian ARM) shipped in DrayTek Vigor2960 firmware 1.5.1.6 (revision 8218).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

A high-severity buffer overflow vulnerability (CVE-2026-132139) affects DrayTek Vigor2960 routers running firmware up to 1.5.1.6, potentially enabling authenticated attackers to execute code and compromise network integrity. Organizations relying on these devices for secure connectivity must prioritize patching to prevent unauthorized access and data breaches.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Model

5 threats: Elevation of Privilege, Denial of Service, Tampering and 2 more

5-step attack chain with trust boundaries and controls

Full threat model - attack chain, trust boundaries, controls per stage and evidence - is part of the Pro and Business plans.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Medium
common DrayTek SMB router/VPN appliance, not a ubiquitous platform
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

63
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

CVE-2026-129449 HIGH POC
8.6 Nov 15

Authenticated command injection in the DrayTek Vigor2960 router's web management interface lets an attacker holding vali

CVE-2026-113390 HIGH POC
8.6 Oct 20

OS command injection in DrayTek Vigor2960 firmware 1.5.1.6 Revision 8218 allows authenticated, low-privilege attackers t

CVE-2026-129452 HIGH POC
8.5 Nov 15

Authenticated command injection in DrayTek Vigor2960 firmware 1.5.1.6 lets a high-privilege administrator - or anyone ho

CVE-2026-129451 HIGH POC
8.6 Nov 15

Authenticated path traversal in DrayTek Vigor2960 firmware through 1.5.1.6 allows a remote low-privileged user with acce

CVE-2026-129450 HIGH POC
8.6 Nov 15

Path traversal in the DrayTek Vigor2960 web management interface (firmware 1.5.1.6) allows a remote user who already hol

CVE-2026-132143 HIGH POC
8.6 Nov 18

Stack-based buffer overflow in the DrayTek Vigor2960 router's doWebBackup backup handler, reachable through /cgi-bin/mai

CVE-2026-132141 HIGH POC
8.6 Nov 18

Authenticated stack-based buffer overflow in DrayTek Vigor2960 firmware through 1.5.1.6 allows a low-privileged user of

CVE-2026-129453 HIGH POC
8.6 Nov 15

Heap-based buffer overflow in the DrayTek Vigor2960 router firmware 1.5.1.6, reached through the check_file_exist routin

CVE-2026-113391 HIGH POC
8.6 Oct 20

Authenticated command injection in DrayTek Vigor2960 1.5.1.6 Revision 8218 allows a low-privileged user with valid crede

CVE-2026-113389 HIGH POC
8.6 Oct 20

Authenticated command injection in DrayTek Vigor2960 1.5.1.6 Revision 8218 lets a low-privileged user of the web managem

CVE-2026-132142 HIGH POC
8.5 Nov 18

Authenticated stack-based buffer overflow in DrayTek Vigor2960 firmware through 1.5.1.6 lets a high-privileged user of t

CVE-2026-113394 LOW POC
2.1 Oct 20

Path traversal in DrayTek Vigor2960 1.5.1.6 Revision 8218 allows an authenticated low-privilege user to manipulate the s

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy