CVE-2025-6400 TOTOLINK N300RH HTTP POST Message formPortFw buffer overflow
Remote attackers can trigger a buffer overflow in the HTTP POST handler to potentially execute arbitrary code on TOTOLINK N300RH routers.
- 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-6400?
CVE-2025-6400 is a high-severity memory corruption vulnerability in TOTOLINK N300RH, published on 21 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was found in TOTOLINK N300RH 6.1c.1390_B20191101 and classified as critical. Affected by this issue is some unknown functionality of the file /boafrm/formPortFw of the component HTTP POST Message Handler. The manipulation of the argument service_type leads to buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-6400?
It affects 1 product.
Products include Totolink N300rh Firmware.
How do I fix CVE-2025-6400?
No fix has been published for CVE-2025-6400 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-6400 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6400 exists.
Other vulnerabilities in TOTOLINK N300RH
- CVE-2026-3301 Totolink N300RH Web Management cstecgi.cgi setWebWlanIdx os command injection
- CVE-2026-3696 Totolink N300RH CGI cstecgi.cgi setWiFiWpsConfig os command injection
- CVE-2025-4849 TOTOLINK N300RH cstecgi.cgi CloudACMunualUpdateUserdata command injection
- CVE-2025-4850 TOTOLINK N300RH cstecgi.cgi setUnloadUserData command injection
- CVE-2025-4851 TOTOLINK N300RH cstecgi.cgi setUploadUserData command injection
Sources
Also known as GHSA-4f49-fqv9-jwhv.