CVE-2025-8065
Remote Code Execution via Stack-based Buffer Overflow in ONVIF SOAP Parser in TP-Link Tapo C200 and C520WS
- State
- Published
- Severity
- 8.7 High
- Published
- Dec 20, 2025
- Updated
- Apr 3, 2026
- Reserved
- Jul 22, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | 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 | TPLink |
Weaknesses
- CWE-121 Stack-based buffer overflow
Affected Products
| Product | Versions |
|---|---|
Tapo C200 V3TP-Link Systems Inc. |
|
Tapo C520WS v2.6TP-Link Systems Inc. |
|
References
- https://www.tp-link.com/us/support/download/tapo-c200/v3/#Firmware-Release-Notespatch
- https://www.tp-link.com/us/support/faq/4849/vendor-advisory
- https://www.tp-link.com/us/support/download/tapo-c520ws/#Firmware-Release-Notespatch
- https://www.tp-link.com/en/support/download/tapo-c520ws/#Firmware-Release-Notespatch
- https://www.tp-link.com/en/support/download/tapo-c200/v3/#Firmware-Release-Notespatch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.