Vulnerability · Published Dec 20, 2025 · Assigned by TPLink
CVE-2025-8065Remote Code Execution via Stack-based Buffer Overflow in ONVIF SOAP Parser in TP-Link Tapo C200 and C520WS
High 8.7
In plain English
A high-severity stack buffer overflow in Tapo C200 V3 from TP-Link Systems Inc.. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities).
Official description
A stack-based buffer overflow vulnerability was identified in the ONVIF SOAP XML Parser in Tapo C200 v3 and C520WS v2.6. When processing XML tags with namespace prefixes, the parser fails to validate the prefix length before copying it to a fixed-size stack buffer. It allowed a crafted SOAP request with an oversized namespace prefix to cause memory corruption in stack. An unauthenticated attacker on the same local network may exploit this flaw to enable remote code execution with elevated privileges, leading to full compromise of the device.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| TP-Link Systems Inc. | Tapo C200 V3 | 0 – before V3_1.4.5 Build 251104 |
| TP-Link Systems Inc. | Tapo C520WS v2.6 | 0 – before 1.2.4 Build 260326 Rel.24666n |
Weakness: CWE-121 · Vector: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://www.tp-link.com/us/support/download/tapo-c200/v3/#Firmware-Release-Notes patch
- https://www.tp-link.com/us/support/faq/4849/ vendor-advisory
- https://www.tp-link.com/us/support/download/tapo-c520ws/#Firmware-Release-Notes patch
- https://www.tp-link.com/en/support/download/tapo-c520ws/#Firmware-Release-Notes patch
- https://www.tp-link.com/en/support/download/tapo-c200/v3/#Firmware-Release-Notes patch