CVE-2025-8065

published 20 Dec 2025 · updated 3 Apr 2026

Remote Code Execution via Stack-based Buffer Overflow in ONVIF SOAP Parser in TP-Link Tapo C200 and C520WS

8.7HighCVSS 8.7EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in V3_1.4.5 Build 251104 and 1.2.4 Build 260326 Rel.24666n.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
TP-Link Systems<V3_1.4.5 Build 251104, <1.2.4 Build 260326 Rel.24666nV3_1.4.5 Build 251104, 1.2.4 Build 260326 Rel.24666n

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-8065 severity on Zeptric[![CVE-2025-8065](https://zeptric.io/badge/cve/CVE-2025-8065.svg)](https://zeptric.io/cve/CVE-2025-8065)