CVE-2025-6302 TOTOLINK EX1200T cstecgi.cgi setStaticDhcpConfig stack-based overflow

High 8.7 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the setStaticDhcpConfig function to potentially execute arbitrary code on TOTOLINK EX1200T devices.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-6302?

CVE-2025-6302 is a high-severity memory corruption vulnerability in TOTOLINK EX1200T, published on 20 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability, which was classified as critical, was found in TOTOLINK EX1200T 4.1.2cu.5232_B20210713. Affected is the function setStaticDhcpConfig of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument Comment leads to stack-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-121, CWE-119

Which versions are affected by CVE-2025-6302?

It affects 1 product.

Products include Totolink Ex1200t Firmware.

How do I fix CVE-2025-6302?

No fix has been published for CVE-2025-6302 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-6302 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6302 exists.

Sources

Also known as GHSA-9c83-p7rg-5fw5.

Is CVE-2025-6302 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free