CVE-2026-7218 Totolink N300RT libapmib.so formWsc is_cmd_string_valid buffer overflow

High 8.6 Published Updated

Remote attackers can trigger a buffer overflow in the Totolink N300RT router via the formWsc interface, potentially leading to arbitrary code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-7218?

CVE-2026-7218 is a high-severity memory corruption vulnerability in Totolink N300RT, published on 28 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability was detected in Totolink N300RT 3.4.0-B20250430. The impacted element is the function is_cmd_string_valid of the file /boafrm/formWsc of the component libapmib.so. Performing a manipulation of the argument localPin results in buffer overflow. The attack is possible to be carried out remotely. The exploit is now public and may be used.

Weakness: CWE-120, CWE-119

Which versions are affected by CVE-2026-7218?

How do I fix CVE-2026-7218?

No fix has been published for CVE-2026-7218 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-2026-7218 being exploited?

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

Sources

Also known as GHSA-76r7-mj3f-42m5.

Is CVE-2026-7218 in your software?

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

Check your SBOMs for free