A high-severity vulnerability in the TP-Link TL-WR940N router can allow attackers to execute arbitrary code remotely and take full control of the device.
The flaw, registered as CVE-2026-12935 and assigned a CVSS score of 8.7, affects only hardware version V6 of the model. It is located in the RTSP connection tracking module, which handles control sessions for audio and video streaming across the network.
The root cause is a stack-based buffer overflow. When data exceeding the allocated buffer size is processed, it can corrupt kernel memory, the core component managing router operations. This can result in system crashes or allow an attacker to run commands of their choosing.
The attack does not require a password or administrative access. However, it depends on an RTSP connection initiated by a device already connected to the same network. Once the router is compromised, attackers can change configuration settings, modify DNS servers, intercept communications, redirect users to fraudulent websites, or use the device to target other connected equipment.
Users should check the hardware version printed on the router label and install only the firmware update that matches their specific region.


