CVE-2025-8065

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

8.7 high EPSS 0.57%

Published 20 Dec 2025 Updated 3 Apr 2026 CNA: 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.

Severity (CVSS)

8.7 high CVSS 4.0 from TPLink (CNA)
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
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
low: an attack works without special conditions
Attack requirements
none: an attack works without special conditions on the target
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Impact on the vulnerable system
confidentiality high, integrity high, availability high: what an attacker can read, change or stop in the vulnerable component
Impact on other systems
confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it

Exploitation

EPSS 0.57%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 48.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 22 Dec 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-121 Stack-based Buffer Overflow

Affected products

As the CNA lists them.

ProductVersions
Tapo C200 V3
affected before V3_1.4.5 Build 251104
Other versions: unaffected
Tapo C520WS v2.6
affected before 1.2.4 Build 260326 Rel.24666n
Other versions: unaffected

Is my server affected?

This CVE is in Tapo C200 V3 of TP-Link Systems Inc., which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Patches and release notes

Source: the record CVE-2025-8065 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.