Skip to main content

Tew 657Brm EUVDEUVD-2026-18358

| CVE-2026-5349 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-04-02 VulDB
7.4
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Trendnet TEW-657BRM web interface
  2. Exploit
    Submit crafted mac_pc_dba parameter to /setup.cgi
  3. Execution
    Trigger stack-based buffer overflow in add_apcdb function
  4. Impact
    Execute arbitrary code with device privileges

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

Authenticated access required to Trendnet TEW-657BRM 1.00.1 router's /setup.cgi interface. Attacker must send crafted request with oversized mac_pc_dba parameter to add_apcdb function. Product discontinued since June 2011; no vendor support available.

Impact

Real-world risk assessment presents a nuanced picture. The CVSS 4.0 score of 7.4 reflects high confidentiality, integrity, and availability impact (VC:H/VI:H/VA:H) with an exploit maturity indicator of POC available (E:P). The publicly available exploit code on GitHub substantially increases exploitation risk for the limited installed base. However, multiple mitigating factors reduce overall urgency: (1) the product reached end-of-life over 14 years ago in 2011, meaning the deployed footprint is extremely small compared to current products; (2) authentication is required (PR:L), limiting attack surface to scenarios where credentials are compromised or default/weak passwords remain in use; (3) no EPSS score or CISA KEV inclusion suggests no observed mass exploitation campaigns; (4) the vendor's discontinuation statement and public disclosure mean remaining users have been warned. From an SSVC perspective, while technical impact is total system compromise and exploitation is proven possible with public POC, automatable mass exploitation is constrained by the authentication requirement and small target population. Organizations should prioritize this only if TEW-657BRM devices are confirmed in their inventory; otherwise, this represents a low-priority issue affecting obsolete equipment that should have been replaced years ago per standard hardware lifecycle policies.

Exploit ScenarioDerived

An attacker who has obtained valid administrative credentials to a Trendnet TEW-657BRM router (through credential stuffing, default password usage, or phishing) connects remotely to the web management interface and crafts a malicious HTTP request to /setup.cgi. The attacker includes an oversized payload in the mac_pc_dba parameter designed to overflow the stack buffer in the add_apcdb function, overwriting the return address to redirect execution to attacker-controlled shellcode. Upon successful exploitation, the attacker gains root-level code execution on the router, enabling installation of persistent backdoors, traffic interception, DNS hijacking to redirect users to malicious sites, or use of the compromised router as a pivot point for lateral movement into the internal network. The publicly available exploit code on GitHub provides a ready-made attack tool, eliminating the need for advanced exploit development skills.

Monitor Track and reassess. Why: Vendor states no customer action required.
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 02, 2026

Stack-based buffer overflow in Trendnet TEW-657BRM router firmware 1.00.1 allows authenticated remote attackers to achieve arbitrary code execution via the mac_pc_dba parameter in /setup.cgi's add_apcdb function. The product was discontinued in 2011 and receives no vendor support. A public exploit exists on GitHub, significantly lowering the barrier for exploitation against unpatched devices still deployed in production environments.

RemediationAI

No vendor-released patch exists or will be developed, as Trendnet discontinued the TEW-657BRM router in 2011 and explicitly states they no longer provide support or vulnerability confirmation for this product line. The only secure remediation is immediate hardware replacement with a currently supported router model that receives active security updates. Organizations that identify TEW-657BRM devices in their networks should prioritize decommissioning and replacement as part of standard end-of-life hardware retirement procedures. As an interim risk reduction measure until replacement, restrict administrative access to the device by implementing network segmentation, disabling remote management interfaces, enforcing strong authentication credentials if default passwords are in use, and limiting access to trusted administrator IP addresses via firewall rules. However, these workarounds do not eliminate the vulnerability and should be considered temporary measures only. The vendor advisory is available at https://vuldb.com/vuln/354702 with technical details and exploit code documented at https://github.com/panda666-888/vuls/blob/main/trendnet/tew-657brm/add_apcdb.md.

Affected VersionsENISA

TEW-657BRM 1.00.1

Affected Packages

euvd tew_657brm 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

This vulnerability affects the Trendnet TEW-657BRM wireless router (CPE: cpe:2.3:a:trendnet:tew-657brm:*:*:*:*:*:*:*:*), specifically firmware version 1.00.1. The flaw is a CWE-121 stack-based buffer overflow in the add_apcdb function within the /setup.cgi CGI script handler. When processing the mac_pc_dba parameter, insufficient input validation allows an attacker to write beyond the allocated stack buffer boundary. Stack-based overflows are particularly dangerous in embedded device firmware because they can overwrite return addresses and enable arbitrary code execution with the privilege level of the web server process, typically root on embedded Linux systems. The CVSS vector indicates network-accessible attack surface (AV:N), low complexity (AC:L), and requires low privileges (PR:L), meaning any authenticated user can trigger the overflow. The vulnerability class is well-understood and reliably exploitable on devices without modern memory protection mechanisms like ASLR or stack canaries, which are often absent in legacy router firmware.

Know when Tew 657Brm 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 7.4 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

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
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
PoC Detected
Apr 07, 2026 - 14:15 vuln.today
Public exploit code
CVE Published
Apr 02, 2026 - 15:15 nvd
HIGH 7.4

DescriptionCVE.org

A vulnerability was identified in Trendnet TEW-657BRM 1.00.1. The affected element is the function add_apcdb of the file /setup.cgi. The manipulation of the argument mac_pc_dba leads to stack-based buffer overflow. The attack can be initiated remotely. The exploit is publicly available and might be used. The vendor confirms, that "[t]he product in question (...) has been discontinued and end of life since June 23, 2011, that is more than 14 years ago. We no longer provide support for this product, so we are not able to confirm the vulnerabilities. We will make an announcement on our website's product support page and notify customers who registered their products with us." This vulnerability only affects products that are no longer supported by the maintainer.

Executive ViewAI

Why It Matters

CVE-2026-5349 affects legacy Trendnet TEW-657BRM routers (discontinued 2011) and enables authenticated attackers to execute arbitrary code through a stack buffer overflow. Organizations still operating these devices face critical risk of network compromise and lateral movement, as the vendor provides no security updates and public exploit code is available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to affected routers via firewall rules blocking inbound access to /setup.cgi and administrative ports; (2) Disable remote management interfaces and enforce local-only administrative access; (3) Monitor for suspicious activity on affected devices and segment them from critical infrastructure; (4) Consider network appliance replacement as the preferred control given end-of-life status and availability of public exploit code.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.0%
Patch available No
Active threat No
Deciding rule
Vendor states no customer action required
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

57
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
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.

Related Vulnerabilities in Trendnet TEW-657BRM Buffer Overflow

View all 2

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