CVE-2026-40615: Totolink X2000R stack-based buffer overflow in boa formParentControl

CVE-2026-40615 · Severity: critical · CVSS 9.1 · Published 2026-10-20

The Totolink X2000R is a home router used for network connectivity and web-based administration. A vulnerability in its web administration interface allows authenticated attackers to send a specially crafted HTTP request to the parent control settings, which triggers a stack-based buffer overflow in the deviceName parameter. Successful exploitation grants arbitrary code execution on the router with full device compromise.

Technologies: TOTOLINK X2000r. Vendors: TOTOLINK.

Quick answers

Is CVE-2026-40615 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-40615 being exploited in the wild.
How severe is CVE-2026-40615?
Critical severity, with a CVSS score of 9.1, published 20 October 2026.
Which products and versions are affected?
TOTOLINK X2000r TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327.
Is there a fix for CVE-2026-40615?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-40615 attacked?
It is attacked over the network.
Am I affected by CVE-2026-40615?
Check whether you run TOTOLINK X2000r at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A stack-based buffer overflow exists in the formParentControl function of the boa web server running on X2000R. The vulnerability occurs when an authenticated attacker submits an HTTP POST request with modPCRule or addPCUrl parameters set, followed by an oversized deviceName parameter that is copied via unrestricted strcpy() into a 152-byte stack buffer (offset 0x190). An attacker with authentication credentials can trigger this to overwrite the stack and achieve code execution.

Affected products

  • Totolink X2000R TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327

Timeline

  • 2026-10-20: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.