Remote Code Execution via Stack-based Buffer Overflow in ONVIF SOAP Parser in TP-Link Tapo C200 and C520WS
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-121 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| TP-Link | Tapo C200 V3 | before V3_1.4.5 Build 251104 | V3_1.4.5 Build 251104 | Patch available | CNA |
| TP-Link | Tapo C520WS v2.6 | before 1.2.4 Build 260326 Rel.24666n | 1.2.4 Build 260326 Rel.24666n | Patch available | CNA |
- Tapo C200 V3 VendorTP-Link Affected before V3_1.4.5 Build 251104 Fixed in V3_1.4.5 Build 251104 Patch available CNA
- Tapo C520WS v2.6 VendorTP-Link Affected before 1.2.4 Build 260326 Rel.24666n Fixed in 1.2.4 Build 260326 Rel.24666n Patch available CNA
CPE configurations NVD · 13
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.3:build_230228:*:*:*:*:*:* | 1.3.3 build_230228 | Vulnerable | TP-Link |
| cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.4:build_230424:*:*:*:*:*:* | 1.3.4 build_230424 | Vulnerable | TP-Link |
| cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.5:build_230717:*:*:*:*:*:* | 1.3.5 build_230717 | Vulnerable | TP-Link |
| cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.7:build_230920:*:*:*:*:*:* | 1.3.7 build_230920 | Vulnerable | TP-Link |
| cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.9:build_231019:*:*:*:*:*:* | 1.3.9 build_231019 | Vulnerable | TP-Link |
| cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.11:build_231115:*:*:*:*:*:* | 1.3.11 build_231115 | Vulnerable | TP-Link |
| cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.13:build_240327:*:*:*:*:*:* | 1.3.13 build_240327 | Vulnerable | TP-Link |
| cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.14:build_240513:*:*:*:*:*:* | 1.3.14 build_240513 | Vulnerable | TP-Link |
| cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.15:build_240715:*:*:*:*:*:* | 1.3.15 build_240715 | Vulnerable | TP-Link |
| cpe:2.3:o:tp-link:tapo_c200_firmware:1.4.1:build_241212:*:*:*:*:*:* | 1.4.1 build_241212 | Vulnerable | TP-Link |
- cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.3:build_230228:*:*:*:*:*:* Versions 1.3.3 build_230228 Vulnerable ·TP-Link
- cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.4:build_230424:*:*:*:*:*:* Versions 1.3.4 build_230424 Vulnerable ·TP-Link
- cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.5:build_230717:*:*:*:*:*:* Versions 1.3.5 build_230717 Vulnerable ·TP-Link
- cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.7:build_230920:*:*:*:*:*:* Versions 1.3.7 build_230920 Vulnerable ·TP-Link
- cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.9:build_231019:*:*:*:*:*:* Versions 1.3.9 build_231019 Vulnerable ·TP-Link
- cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.11:build_231115:*:*:*:*:*:* Versions 1.3.11 build_231115 Vulnerable ·TP-Link
- cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.13:build_240327:*:*:*:*:*:* Versions 1.3.13 build_240327 Vulnerable ·TP-Link
- cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.14:build_240513:*:*:*:*:*:* Versions 1.3.14 build_240513 Vulnerable ·TP-Link
- cpe:2.3:o:tp-link:tapo_c200_firmware:1.3.15:build_240715:*:*:*:*:*:* Versions 1.3.15 build_240715 Vulnerable ·TP-Link
- cpe:2.3:o:tp-link:tapo_c200_firmware:1.4.1:build_241212:*:*:*:*:*:* Versions 1.4.1 build_241212 Vulnerable ·TP-Link
Show 3 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:tp-link:tapo_c200_firmware:1.4.2:build_250313:*:*:*:*:*:* | 1.4.2 build_250313 | Vulnerable | TP-Link |
| cpe:2.3:o:tp-link:tapo_c200_firmware:1.4.4:build_250922:*:*:*:*:*:* | 1.4.4 build_250922 | Vulnerable | TP-Link |
| cpe:2.3:h:tp-link:tapo_c200:3:*:*:*:*:*:*:* | 3 | Running on | TP-Link |
- cpe:2.3:o:tp-link:tapo_c200_firmware:1.4.2:build_250313:*:*:*:*:*:* Versions 1.4.2 build_250313 Vulnerable ·TP-Link
- cpe:2.3:o:tp-link:tapo_c200_firmware:1.4.4:build_250922:*:*:*:*:*:* Versions 1.4.4 build_250922 Vulnerable ·TP-Link
- cpe:2.3:h:tp-link:tapo_c200:3:*:*:*:*:*:*:* Versions 3 Running on ·TP-Link
Remediation
- Fix · CNA Tapo C200 V3 (TP-Link Systems Inc.) Fixed in V3_1.4.5 Build 251104
- Fix · CNA Tapo C520WS v2.6 (TP-Link Systems Inc.) Fixed in 1.2.4 Build 260326 Rel.24666n
Timeline
- 2026-10-02 Threatist record created from CVE-2025-8065
- 2026-10-03 Alias added: GHSA-5r97-vg42-wrjj
References
Patch 4
- https://www.tp-link.com/us/support/download/tapo-c200/v3/#Firmware-Release-Notes
- https://www.tp-link.com/us/support/download/tapo-c520ws/#Firmware-Release-Notes
- https://www.tp-link.com/en/support/download/tapo-c520ws/#Firmware-Release-Notes
- https://www.tp-link.com/en/support/download/tapo-c200/v3/#Firmware-Release-Notes
More TP-Link Tapo C200 Firmware vulnerabilities
- TI-2021-02932 TP-LINK Tapo C200 remote code execution vulnerability CVSS 3.1CRITICAL 9.8
- TI-2023-27043 Insecure Permissiosn vulnerability in TP Link TC70 and C200 WIFI Camera v.3 firmware… CVSS 3.1MEDIUM 4.6
- TI-2023-11937 The AES Key-IV pair used by the TP-Link TAPO C200 camera V3 (EU) on firmware version… CVSS 3.1MEDIUM 4.6
- TI-2026-12889 Unauthenticated Administrative Authentication Bypass via device_confirm Replay in TP-Link Tapo C120 and C200 CVSS 4.0HIGH 8.7
- TI-2025-13063 Unauthenticated Access to connectAP API Endpoint on Tapo C100, C200 & C425 CVSS 4.0HIGH 8.7
- TI-2026-12890 Denial-of-Service via Oversized Encrypted Credential Input in TP-Link Tapo C200 CVSS 4.0HIGH 7.1
Sources
- CVE-2025-8065 · CVE Program
- CVE-2025-8065 · NVD
- FIRST EPSS
- GHSA-5r97-vg42-wrjj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences