CVE-2025-8065
published high CVSS 4.0 · 8.7Remote Code Execution via Stack-based Buffer Overflow in ONVIF SOAP Parser in TP-Link Tapo C200 and C520WS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| TP-Link Systems Inc. | — | Tapo C200 V30 to < V3_1.4.5 Build 251104 · Other versions: unaffected | Affected | Not stated | TPLink |
| TP-Link Systems Inc. | — | Tapo C520WS v2.60 to < 1.2.4 Build 260326 Rel.24666n · Other versions: unaffected | Affected | Not stated | TPLink |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- TPLink · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| TP-Link Systems Inc. | Tapo C200 V3 | 0 to < V3_1.4.5 Build 251104 (affected · custom)Default: unaffected | TPLink · cna |
| TP-Link Systems Inc. | Tapo C520WS v2.6 | 0 to < 1.2.4 Build 260326 Rel.24666n (affected · custom)Default: unaffected | TPLink · cna |
Weaknesses
1- CWE-121 CWE-121 Stack-based buffer overflow
References
5- https://www.tp-link.com/en/support/download/tapo-c200/v3/#Firmware-Release-Notes
- https://www.tp-link.com/en/support/download/tapo-c520ws/#Firmware-Release-Notes
- 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/us/support/faq/4849/
Provider assertions
2TPLink · cna
Remote Code Execution via Stack-based Buffer Overflow in ONVIF SOAP Parser in TP-Link Tapo C200 and C520WS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 395dd965419bef6743431de2a6f3addad98e66c21dfa285a3f694764f159153e
- Ingested
- 23 Sep 2026, 08:58:42 UTC
- Source record
- Official CVE record