# CVE-2025-8065: Remote Code Execution via Stack-based Buffer Overflow in ONVIF SOAP Parser in TP-Link Tapo C200 and C520WS

- Severity: High 8.7 (CVSS:4.0, scored by TPLink) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-02)
- Published: 2025-12-20T00:41:56.823Z
- Modified: 2026-09-25T23:10:00.463Z
- Weaknesses: CWE-120, CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- TP-Link Systems Inc. Tapo C200 V3: before V3_1.4.5 Build 251104
- TP-Link Systems Inc. Tapo C520WS v2.6: before 1.2.4 Build 260326 Rel.24666n
- tp-link tapo_c200_firmware: 1.3.3; 1.3.4; 1.3.5; 1.3.7; 1.3.9; 1.3.11; 1.3.13; 1.3.14; 1.3.15; 1.4.1; 1.4.2; 1.4.4

## Every score

- TPLink: CVSS: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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://www.tp-link.com/us/support/download/tapo-c200/v3/#Firmware-Release-Notes> (patch, release-notes)
- <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)

## Sources

- CVE List: [CVE-2025-8065](https://www.cve.org/CVERecord?id=CVE-2025-8065), CVE Terms of Use, modified 2026-04-03
- NVD: [CVE-2025-8065](https://nvd.nist.gov/vuln/detail/CVE-2025-8065), Public domain, modified 2026-09-25

---

Page: https://cve.day/CVE-2025-8065 · Whole record: https://cve.day/CVE-2025-8065.json · Rebuilt by cve.day 2026-11-25T22:59:09.759Z
