Impact
A buffer overflow occurs when the is_cmd_string_valid function in libapmib.so processes the localPin argument of the formWsc component. The overflow can overwrite adjacent memory and allow an attacker to execute arbitrary code, leading to complete compromise of the device. The vulnerability exploits a classic stack‑based buffer overflow (CWE‑119, CWE‑120) and is rated high severity.
Affected Systems
Totolink N300RT routers running firmware version 3.4.0‑B20250430 are affected. The issue resides in the libapmib.so library packaged with this firmware.
Risk and Exploitability
With a CVSS score of 8.6, the vulnerability has a high impact. The EPSS score is not available, but the exploit is public and can be performed remotely by manipulating the localPin parameter, making it reachable over the network. The vulnerability is not yet listed in the CISA KEV catalog, yet the public exploit and remote attack vector warrant rapid mitigation.
OpenCVE Enrichment