CVE-2026-121597 Details
Description
A weakness has been identified in TOTOLINK A950RG 4.1.2cu.5268_B20221104. This affects the function setAppEasyWizardConfig of the file /cgi-bin/cstecgi.cgi of the component Easy Setup Wizard Handler. Executing a manipulation of the argument functionType 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.
A stack-based buffer overflow vulnerability has been identified in the TOTOLINK A950RG router, specifically in the firmware version 4.1.2cu.5268_B20221104. The issue arises in the Easy Setup Wizard Handler, within the function setAppEasyWizardConfig of the file /cgi-bin/cstecgi.cgi. The vulnerability can be exploited remotely by manipulating the functionType argument to overflow a twelve-byte stack buffer with SSID values that can be several thousand bytes long. This flaw allows for overwriting the saved return address and potentially executing arbitrary code.
TOTOLINK should validate SSID parameters before copying them to buffers, ensuring they do not exceed 32 bytes. The vulnerable function should use snprintf with an appropriately sized destination buffer to prevent overflows. Additionally, the firmware should be compiled with stack protection, as a Position Independent Executable, and with Address Space Layout Randomization enabled.
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.
Volerion
Assessed Nov 4, 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://gist.github.com/H3rmesk1t/49d6ccded59379651568e0bdc6b5624c | [email protected] | ExploitTechnical Description |
| https://vuldb.com/cve/CVE-2026-121597 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1022558 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/430439 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/430439/cti | [email protected] | Content Wall |
| https://www.totolink.net/ | [email protected] | Vendor |
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 |
|---|---|
| TOTOLINK A950RG | V4.1.2cu.5268_B20221104 |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | New CVE Received | [email protected] |
Volerion