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

- Severity: High 8.6 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-28T02:45:13.239Z
- Modified: 2026-07-24T08:10:00.150Z
- Weaknesses: CWE-119, CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- Totolink N300RT: 3.4.0-B20250430

## Every score

- VulDB: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 7.2 High `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 8.3 High `AV:N/AC:L/Au:M/C:C/I:C/A:C/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/xiaohaiyang-ai/TOTOLINK-N300RT-Buffer-Overflow> (exploit)
- <https://vuldb.com/vuln/359818> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/359818/cti> (permissions-required, signature)
- <https://vuldb.com/submit/802127> (third-party-advisory)
- <https://www.totolink.net/> (product)

## Sources

- CVE List: [CVE-2026-7218](https://www.cve.org/CVERecord?id=CVE-2026-7218), CVE Terms of Use, modified 2026-04-29
- NVD: [CVE-2026-7218](https://nvd.nist.gov/vuln/detail/CVE-2026-7218), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-7218 · Whole record: https://cve.day/CVE-2026-7218.json · Rebuilt by cve.day 2026-11-25T22:59:19.846Z
