Severity by source
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
Network-reachable web interface requires low-privilege credentials (PR:L); full CIA impact on device; scope unchanged as only the router system is affected.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was detected in TOTOLINK A800R 4.1.2cu.5137_B20200730. Affected is the function setMacQos of the file /cgi-bin/cstecgi.cgi of the component firewall.so. Performing a manipulation of the argument macAddress results in stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit is now public and may be used.
AnalysisAI
Stack-based buffer overflow in TOTOLINK A800R firmware 4.1.2cu.5137_B20200730 enables remote low-privileged attackers to achieve arbitrary code execution by submitting an oversized macAddress parameter to the setMacQos QoS firewall function via /cgi-bin/cstecgi.cgi. The CVSS 4.0 score of 8.7 with network attack vector and full CIA impact on the device reflects the severity of exploitation. A public proof-of-concept is confirmed available on GitHub, materially lowering the exploitation barrier; no patch has been identified at time of analysis.
Technical ContextAI
The vulnerability is rooted in the firewall.so shared library, loaded by the CGI handler /cgi-bin/cstecgi.cgi on TOTOLINK A800R routers. The setMacQos function processes MAC-based QoS firewall policy rules and fails to validate the length of the macAddress argument before copying it to a fixed-size stack buffer, producing a CWE-121 (Stack-based Buffer Overflow) condition. On embedded Linux router platforms such as this, the web server process typically runs as root, meaning a successful stack smash - overwriting the saved return address or frame pointer - grants full device control. The CPE identifier cpe:2.3:a:totolink:a800r:*:*:*:*:*:*:*:* uses a wildcard version field, suggesting the research did not definitively bound the affected firmware range beyond the one confirmed version (4.1.2cu.5137_B20200730). This class of flaw is well-understood and standard exploitation techniques (ret2libc, ROP chains) apply to MIPS or ARM embedded environments.
RemediationAI
No vendor-released patch has been identified at time of analysis for CVE-2026-19814. As an immediate compensating control, administrators should restrict access to the TOTOLINK A800R's web management interface by blocking inbound connections to TCP ports 80 and 443 from all untrusted network segments using an upstream firewall or ACL - note this does not protect against exploitation from compromised LAN hosts. The web management interface should never be exposed directly to the internet. Replacing default credentials with strong, unique passwords will raise the authentication bar against the PR:L attack vector, though it does not eliminate risk. Administrators should monitor the TOTOLINK product page (https://www.totolink.net/) for firmware updates that address this issue. The public proof-of-concept at https://github.com/panda666-888/vuls/blob/main/totolink/a800r/setMacQos.md should be reviewed to understand the precise payload format and affected code path.
Stack-based buffer overflow in TOTOLINK A800R firmware 4.1.2cu.5137_B20200730 allows remote low-privileged attackers to
Stack-based buffer overflow in TOTOLINK A800R firmware 4.1.2cu.5137_B20200730 allows network-accessible, low-privilege a
Stack-based buffer overflow in TOTOLINK A800R firmware 4.1.2cu.5137_B20200730 allows authenticated remote attackers to a
Stack-based buffer overflow in TOTOLINK A800R firmware 4.1.2cu.5137_B20200730 allows remote low-privileged attackers to
Buffer overflow in Totolink A800R router firmware 4.1.2cu.5137_B20200730 allows authenticated remote attackers to achiev
Stack-based buffer overflow in TOTOLINK A800R firmware 4.1.2cu.5137_B20200730 enables remote code execution via the rout
Same weakness CWE-121 – Stack-based Buffer Overflow
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-58612
GHSA-qp43-7266-qhgq