Skip to main content

Tew 657Brm CVE-2026-5350

| EUVDEUVD-2026-18360 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-04-02 VulDB GHSA-g7rc-cpg5-3v55
7.4
CVSS 4.0 · NVD
Share

Severity by source

NVD 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

4
PoC Detected
Apr 07, 2026 - 16:38 vuln.today
Public exploit code
EUVD ID Assigned
Apr 02, 2026 - 16:00 euvd
EUVD-2026-18360
Analysis Generated
Apr 02, 2026 - 16:00 vuln.today
CVE Published
Apr 02, 2026 - 15:30 nvd
HIGH 7.4

DescriptionCVE.org

A security flaw has been discovered in Trendnet TEW-657BRM 1.00.1. The impacted element is the function update_pcdb of the file /setup.cgi. The manipulation of the argument mac_pc_dba results in stack-based buffer overflow. The attack can be launched remotely. The exploit has been released to the public and may be used for attacks. 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.

AnalysisAI

Stack-based buffer overflow in Trendnet TEW-657BRM 1.00.1 wireless router allows authenticated remote attackers to achieve code execution via the update_pcdb function in /setup.cgi by manipulating the mac_pc_dba parameter. This vulnerability affects a product discontinued since June 2011 (14+ years end-of-life) with no vendor support or patches available. Publicly available exploit code exists, elevating immediate risk for organizations still operating legacy deployments. CVSS 7.4 with low attack complexity and proof-of-concept availability make this a practical exploitation target despite requiring low-privilege authentication.

Technical ContextAI

This vulnerability exploits a classic stack-based buffer overflow (CWE-121) in the router's web management interface CGI handler. The /setup.cgi endpoint's update_pcdb function fails to properly validate the length of the mac_pc_dba parameter before copying it to a fixed-size stack buffer. When an authenticated user submits an oversized MAC address string, the overflow corrupts the stack frame, enabling control of the instruction pointer and arbitrary code execution in the context of the web server process. This class of vulnerability is common in legacy embedded devices using unsafe C string functions (strcpy, sprintf) without bounds checking. The Trendnet TEW-657BRM is a wireless router identified by CPE cpe:2.3:a:trendnet:tew-657brm, discontinued over 14 years ago, likely running outdated firmware with minimal memory protection mechanisms typical of consumer networking equipment from that era.

RemediationAI

No vendor-released patch exists and none will be developed, as Trendnet discontinued the TEW-657BRM product in June 2011 and explicitly states they no longer provide support or security updates. Immediate remediation requires hardware replacement with currently supported networking equipment that receives active security maintenance. Organizations still operating these devices should implement network segmentation to isolate affected routers from critical assets, restrict administrative access to trusted IP ranges only, change default credentials if not already done, monitor for unusual administrative login attempts, and deploy intrusion detection signatures targeting /setup.cgi exploit attempts. Interim compensating controls include placing the router behind a firewall that blocks external access to the web management interface (typically TCP port 80/443), though this does not protect against attacks from compromised internal systems. The GitHub exploit repository at https://github.com/panda666-888/vuls/blob/main/trendnet/tew-657brm/update_pcdb.md provides technical details that can inform detection rule development. Full vulnerability intelligence available at https://vuldb.com/vuln/354703 and https://vuldb.com/vuln/354703/cti. Given the 14-year end-of-life status, the only sustainable remediation is complete device replacement.

Share

CVE-2026-5350 vulnerability details – vuln.today

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