Skip to main content
← Vulnerabilities

TOTOLINK A950RG Basic Wireless Configuration cstecgi.cgi strcpy stack-based overflow

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

9.4CriticalCNA
Exploited
Proof of concept public, per CISA
Fix
No fix listed
Who is exposed
Specific setups only

Do first: Check whether your setup matches what the bug needs. Firmware TOTOLINK A950RG V4.1.2cu.5268_B20221104 The addEffect parameter must be non-zero to enter the block containing the copy keyFormat must be a value other than 1 so the strcpy branch is taken

38Pcve.now Index 38 of 100 · methodology v3 · provisional
  • Exploitation15/40CISA rates a proof of concept as public
  • Exposure8/25Specific setups only, reachable over the network
  • Reach?/20Reach: unknown (data gap). No tracked technology or package matched
  • Severity10/10CVSS 9.4, total technical impact per CISA
  • No patch5/5No patch listed yet

What would change the score

  • Would score about 73 if added to CISA KEV
  • Would score about 68 if CISA's SSVC rates exploitation active
  • Would score about 45 if CISA's SSVC rates it automatable

CVE-2026-121598 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 9.4 (critical) and affects A950RG; no fixed version is listed yet.

Published
Last modified
Published
Not listed in CISA KEV
0.47% · 40th percentile
38/100 · provisional
Specific setups only
None on Exploit-DB, Metasploit or GitHub
On X
View the cve.now post
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

The TOTOLINK A950RG wireless router firmware, specifically its Basic Wireless Configuration handler in the cstecgi.cgi web interface, is affected. A remote attacker could exploit a stack-based buffer overflow through the wepkey parameter, potentially crashing the device or running arbitrary code on it.

Read the original description

A security vulnerability has been detected in TOTOLINK A950RG 4.1.2cu.5268_B20221104. This impacts the function strcpy of the file /cgi-bin/cstecgi.cgi of the component Basic Wireless Configuration Handler. The manipulation of the argument wepkey leads to stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used.

What to do

  • Check whether your setup matches what the bug needs.

    Firmware TOTOLINK A950RG V4.1.2cu.5268_B20221104 The addEffect parameter must be non-zero to enter the block containing the copy keyFormat must be a value other than 1 so the strcpy branch is taken
  • Workaround: The checked facts give no workaround. The advisory's conditions point to addEffect and keyFormat, but the facts do not say whether changing those settings removes the risk.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Posted on X by cve.now
  4. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  5. Record last updated

Affected versions

  • TOTOLINK A950RG

    4.1.2cu.5268_B20221104

Evidence 6

  1. Advisory
  2. Advisory
  3. Advisory
  4. Advisory
  5. Exploit
  6. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

FAQ

Questions about CVE-2026-121598

Is CVE-2026-121598 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.Source: cve.now feed data

What does this mean?

The setWiFiBasicConfig handler in cstecgi.cgi copies the wepkey value into a stack buffer with strcpy. A wepkey of 113 bytes or more overwrites the saved return address and can crash the CGI process with SIGSEGV. The write-up describes a ROP chain that could let an attacker control execution.Source: gist.github.com

Which versions are affected by CVE-2026-121598?

A950RG: version 4.1.2cu.5268_B20221104.Source: cve.now feed data

Am I affected, and how do I check?

The checked facts list TOTOLINK A950RG firmware V4.1.2cu.5268_B20221104. The copy is reached only when addEffect is non-zero and keyFormat is a value other than 1. Compare your firmware version with that build and check those two settings.Source: gist.github.com

How do I fix CVE-2026-121598?

The checked facts do not name a fixed firmware version, so no upgrade target can be given. Check TOTOLINK's site for a newer A950RG release and apply it when one is published.Source: gist.github.com

What if there's no patch?

The checked facts give no workaround. The advisory's conditions point to addEffect and keyFormat, but the facts do not say whether changing those settings removes the risk.Source: gist.github.com