CVE-2026-2906 Details
Description
A security flaw has been discovered in Tenda HG9 300001138. Affected is an unknown function of the file /boaform/formSamba of the component Samba Configuration Endpoint. The manipulation of the argument sambaCap results in stack-based buffer overflow. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks.
A stack-based buffer overflow vulnerability has been identified in the Tenda HG9 router, specifically in the firmware version 300001138. The issue arises within the Samba configuration endpoint '/boaform/formSamba'. When the 'sambaCap' parameter is set to '1', the function processes the 'serverString' parameter from the user request. The vulnerability occurs because the 'sprintf' function is used to write a command string into a local stack buffer that is only 64 bytes long, without proper length validation. This allows for overflow by sending a 'serverString' longer than approximately 40 bytes, overwriting the return address and potentially leading to a denial-of-service condition or remote code execution.
It is recommended to replace the vulnerable 'sprintf' function with 'snprintf' to prevent buffer overflows. Additionally, input validation should be implemented to enforce strict length limits on the 'serverString' parameter before processing it.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/QIU-DIE/cve-nneeww/issues/8 | [email protected] | ExploitIssue TrackingMitigationThird Party Advisory |
| https://vuldb.com/?ctiid.347215 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.347215 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.755193 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.tenda.com.cn/ | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tenda hg9 firmware | 300001138 |
CPE
Remediation
| |
| tenda hg9 | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 23, 2026 | Initial Analysis | [email protected] |
| Feb 22, 2026 | New CVE Received | [email protected] |