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

Summary

CVECVE-2025-8065
StatePUBLISHED
AssignerTPLink
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-12-20 01:16:05 UTC
Updated2026-04-02 18:16:26 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v4.0 8.7 HIGH from f23511db-6c3e-4e32-a477-6aa17d310630

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

EPSS: 0.000240000 probability, percentile 0.063450000 (date 2026-04-02)

Problem Types: CWE-121 | CWE-120 | CWE-121 CWE-121 Stack-based buffer overflow


VersionSourceTypeScoreSeverityVector
4.0f23511db-6c3e-4e32-a477-6aa17d310630Secondary8.7HIGHCVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/C...
4.0CNACVSS8.7HIGHCVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
3.1[email protected]Primary6.5MEDIUMCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0 Breakdown

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Confidentiality
High
Integrity
High
Availability
High
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS v3.1 Breakdown

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Hardware Tp-link Tapo C200 3 All All All
Operating System Tp-link Tapo C200 Firmware 1.3.11 build_231115 All All
Operating System Tp-link Tapo C200 Firmware 1.3.13 build_240327 All All
Operating System Tp-link Tapo C200 Firmware 1.3.14 build_240513 All All
Operating System Tp-link Tapo C200 Firmware 1.3.15 build_240715 All All
Operating System Tp-link Tapo C200 Firmware 1.3.3 build_230228 All All
Operating System Tp-link Tapo C200 Firmware 1.3.4 build_230424 All All
Operating System Tp-link Tapo C200 Firmware 1.3.5 build_230717 All All
Operating System Tp-link Tapo C200 Firmware 1.3.7 build_230920 All All
Operating System Tp-link Tapo C200 Firmware 1.3.9 build_231019 All All
Operating System Tp-link Tapo C200 Firmware 1.4.1 build_241212 All All
Operating System Tp-link Tapo C200 Firmware 1.4.2 build_250313 All All
Operating System Tp-link Tapo C200 Firmware 1.4.4 build_250922 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA TP-Link Systems Inc. Tapo C200 V3 affected C200(US)_V3_1.4.5 Build 251104 custom Not specified
CNA TP-Link Systems Inc. Tapo C520WS V2.6 affected 1.2.4 Build 260326 Rel.24666n custom Not specified

References

ReferenceSourceLinkTags
www.tp-link.com/us/support/faq/4849 f23511db-6c3e-4e32-a477-6aa17d310630 www.tp-link.com Vendor Advisory
www.tp-link.com/en/support/download/tapo-c520ws f23511db-6c3e-4e32-a477-6aa17d310630 www.tp-link.com
www.tp-link.com/us/support/download/tapo-c200/v3 f23511db-6c3e-4e32-a477-6aa17d310630 www.tp-link.com Release Notes
www.tp-link.com/us/support/download/tapo-c520ws f23511db-6c3e-4e32-a477-6aa17d310630 www.tp-link.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Simone Margaritelli (evilsocket) (en)

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report