Skip to main content
Mallory
High

Stack-based Buffer Overflow in Totolink N300RH setWiFiBasicConfig

IdentifiersCVE-2026-10187CWE-121· Stack-based Buffer Overflow

CVE-2026-10187 is a remotely exploitable stack-based buffer overflow in Totolink N300RH firmware version 6.1c.1353_B20190305. The flaw affects the setWiFiBasicConfig function in wireless.so within the router's Web Management Interface. According to the provided content, improper handling of the KeyStr argument allows an attacker to supply crafted input that overflows a stack buffer. The issue is reachable remotely over the network, and public exploit code is reported to be available.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can crash the affected service or device and may allow arbitrary code execution in the context of the vulnerable component on the router. The provided CVSS information indicates high impact to confidentiality, integrity, and availability, consistent with full compromise of the affected device or severe service disruption.

Mitigation

If you can’t patch tonight, do this now.

If a fixed firmware version is not available, restrict or disable exposure of the Web Management Interface from untrusted networks, especially the Internet. Limit administrative access to trusted management hosts or internal networks only, use network ACLs or firewall rules to block remote access to the management interface, and monitor for exploitation attempts targeting the vulnerable configuration endpoint and KeyStr parameter.

Remediation

Patch, then assume compromise.

Upgrade Totolink N300RH to a vendor-fixed firmware release if one becomes available. Because the provided content identifies the vulnerable version as 6.1c.1353_B20190305, remediation should prioritize replacing that firmware with a patched release from the vendor and validating that the Web Management Interface no longer accepts unsafe KeyStr input in setWiFiBasicConfig.
PUBLIC EXPLOITS

Exploits

No valid public exploits. Mallory filtered out 1 candidate as fakes, detection scripts, or README-only repos.

VALID 0 / 1 TOTALView more in app

All candidate exploits were filtered out by Mallory's validation.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
TotolinkN300rhhardware
TotolinkN300rh Firmwareoperating_system

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity9

Community discussion across Reddit, Mastodon, and other social sources.