Executive Summary
CVE-2026-123958 is a second buffer overflow in the TOTOLINK CA300-PoE (firmware 6.2c.884), published to NVD on 2026-11-07 with a listed CVSS score of 9.9. It affects the setLanConfig function of /cgi-bin/cstecgi.cgi. Manipulating the lanDns, lanSecDns, or langType arguments overflows a buffer. The attack can be launched remotely and the exploit is public.
It was published alongside CVE-2026-123957, which affects the same CGI binary through a different handler, suggesting systemic missing input validation in cstecgi.cgi.
| Attribute | Value |
|---|---|
| CVE ID | CVE-2026-123958 |
| CVSS Score | 9.9 (Critical) |
| Type | Buffer overflow |
| Attack Vector | Network (remote) |
| Affected Product | TOTOLINK CA300-PoE 6.2c.884 |
| Component | setLanConfig in /cgi-bin/cstecgi.cgi |
| Published | 2026-11-07 |
| Source | NVD |
Technical Details
The setLanConfig handler processes LAN settings including DNS servers and the interface language. Three user-controlled arguments (lanDns, lanSecDns, langType) are copied into fixed-size buffers without adequate length checks, so an oversized value overflows the buffer.
The NVD record classifies the issue as a buffer overflow and does not detail the exact impact. On embedded devices this can mean a service crash or code execution.
Remediation
- Apply vendor firmware newer than 6.2c.884 when available; no fixed version is confirmed in the NVD record.
- Do not expose the web management interface to the internet.
- Isolate management access to a dedicated VLAN and allowlist admin hosts.
- Monitor for requests to
/cgi-bin/cstecgi.cgicarrying unusually longlanDns,lanSecDns, orlangTypevalues. - Plan replacement if no patch is released.