Authenticated service crash via unchecked localPin formatting
Published Apr 28, 2026 · Updated Apr 28, 2026
Stack-based buffer overflow in TOTOLINK N300RT 3.4.0-B20250430 allows remote authenticated users to crash its management service. The /boafrm/formWsc handler passes the unbounded localPin value through is_cmd_string_valid, which filters metacharacters but not length, and then formats it with sprintf into a fixed stack buffer, overwriting the saved return address. A valid session token is required; the published proof of concept interrupts the Boa management interface, while code execution has not been demonstrated.
Summary
What happened
Stack-based buffer overflow in TOTOLINK N300RT 3.4.0-B20250430 allows remote authenticated users to crash its management service. The /boafrm/formWsc handler passes the unbounded localPin value through is_cmd_string_valid, which filters metacharacters but not length, and then formats it with sprintf into a fixed stack buffer, overwriting the saved return address. A valid session token is required; the published proof of concept interrupts the Boa management interface, while code execution has not been demonstrated.
The record
- CVE
- CVE-2026-7218
- Published
- Apr 28, 2026
- Updated
- Apr 28, 2026
- Vendor
- TOTOLINK
- Product
- N300RT
- Classifications
- CWE-119, CWE-120, T1499.004
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Apr 28, 2026CVE publishedPublication date reported by the CVE source.
- Apr 28, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.4.0-B20250430
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- TOTOLINK N300RT Buffer Overflow proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo