Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain admin credentials via reuse or default password
-
DeliveryAccess camera ONVIF service on adjacent network
-
ExploitCraft malicious ONVIF Subscribe request with format string specifiers
-
InstallSubmit request to event subscription or notification generation endpoint
-
C2Trigger format string processing in vulnerable function
-
ExecuteCrash ONVIF Subscribe service process
-
ImpactDisable real-time alarm and event notification functionality
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Format string safety
|
| Exploitation Conditions | Exploitation requires three concurrent conditions: (1) adjacent network positioning - the attacker must be on the same LAN or network segment as the camera (AV:A per CVSS vector; internet-based exploitation is not possible without prior network penetration); (2) high-privilege authentication - admin-level credentials on the Tapo C520WS v2 are required (PR:H per CVSS vector; unauthenticated or low-privileged attackers cannot exploit this vulnerability); and (3) the ONVIF Subscribe service must be active and reachable, which is typical in deployments using third-party NVR software or ONVIF-compatible management platforms. Exploitation is further limited by the availability-only impact scope - no confidentiality or integrity compromise of camera data, credentials, or network scope is achievable through this vulnerability per the CVSS vector (VC:N/VI:N/SC:N/SI:N/SA:N). |
| Impact | The CVSS 4.0 score of 6.8 (Medium) accurately reflects a constrained threat model: AV:A restricts the attack surface to the local network segment, PR:H demands admin-level credentials, and impact is bounded to availability only (VA:H) with zero confidentiality or integrity exposure (VC:N/VI:N/SC:N/SI:N). No EPSS data was supplied, and this CVE does not appear in CISA KEV - indicating no confirmed active or widespread exploitation. No public proof-of-concept has been identified. The self-disclosure by TP-Link is consistent with a proactive internal discovery rather than externally-reported exploitation. The primary real-world risk concentrates in physical security deployments where camera admin credentials are weak, shared, or compromised via credential reuse, and where silent loss of event notification could create an undetected security gap. This is not a high-priority emergency patch for most organizations but warrants prompt remediation in deployments where ONVIF event availability is operationally critical. |
| Exploit ScenarioDerived | An attacker who has obtained admin credentials to a Tapo C520WS v2 - whether via credential reuse, default password, or prior compromise - sends a crafted ONVIF Subscribe request over the local network containing format string specifiers (e.g., %n, %s, %x) embedded in the event subscription parameters or notification generation path. The vulnerable formatting function in the Subscribe service processes the specifiers without sanitization, causing a stack corruption or invalid memory access that terminates the service process. The camera continues to operate normally for video streaming, but all motion detection alerts and event notifications are silently dropped until the service recovers, creating an undetected blind spot in the physical security posture. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 06, 2026
Format string injection in the TP-Link Tapo C520WS v2 ONVIF Subscribe service allows a high-privileged attacker on the same network segment to crash the camera's event notification service by supplying crafted format string specifiers in subscription requests or notification generation parameters. Successful exploitation terminates the ONVIF Subscribe service unexpectedly, silently disabling real-time motion alerts and alarm notifications until service recovery or device reboot - a safety-relevant impact in physical security deployments. No public exploit code has been identified at time of analysis, and TP-Link has self-disclosed the issue alongside a firmware patch.
RemediationAI
The primary fix is to update the Tapo C520WS v2 to the latest firmware version available from TP-Link's official download page at https://www.tp-link.com/us/support/download/tapo-c520ws/#Firmware-Release-Notes and consult the advisory at https://www.tp-link.com/us/support/faq/5120/ for confirmed patched version details. Note: the exact patched firmware version number is not specified in currently available advisory data - apply the most recent release listed and verify against the release notes. As compensating controls while patching, administrators should restrict network access to the camera's ONVIF service port (typically TCP 80/8080 and RTSP 554) via VLAN segmentation or firewall ACLs, limiting reachability to trusted NVR hosts only - this addresses the AV:A prerequisite and raises the bar significantly. Enforcing strong, unique administrative credentials removes the PR:H prerequisite for opportunistic attackers. Disabling ONVIF event subscription entirely eliminates the attack surface but will break third-party NVR event integration as a side effect.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Tapo C520WS v2 is a TP-Link Wi-Fi security camera implementing the ONVIF (Open Network Video Interface Forum) protocol, an industry standard for IP camera interoperability. The ONVIF Subscribe service handles event subscription lifecycle and notification delivery between the camera and upstream management clients such as NVR software. CWE-134 (Use of Externally-Controlled Format String) describes the root cause class: user-supplied data is passed insufficiently sanitized into a C-style format function (e.g., printf family), allowing an attacker to inject format specifiers like %s or %n that manipulate stack reads and cause service crashes or potentially arbitrary memory corruption. The CPE string cpe:2.3:a:tp-link_systems_inc.:tapo_c520ws_v2:*:*:*:*:*:*:*:* with a wildcard version field confirms all firmware versions of the v2 hardware line are affected prior to the patch. The CVSS 4.0 adjacent network vector (AV:A) is consistent with ONVIF services being LAN-scoped and not directly internet-routable in standard deployments.
Know when Tapo C520Ws V2 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (TPLink) · only source for this CVE.
CVSS VectorVendor: TPLink
Lifecycle Timeline
1DescriptionCVE.org
An authenticated format string vulnerability exists in the ONVIF Subscribe service in Tapo C520WS v2 due to improper handling of externally supplied parameters within formatting functions. An attacker may inject crafted format strings into event subscription requests or notification generation path to disrupt normal service execution.
Successful exploitation may cause the event notification service to terminate unexpectedly, resulting in the loss of real-time alarm functionality and disruption of event notifications.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
More in Tapo C520Ws V2
View allDenial of service in the RTSP server of TP-Link Tapo C520WS v2 IP cameras allows adjacent network attackers to render th
Authorization bypass in TP-Link Tapo C520WS v2 cameras allows holders of restricted accounts (such as hub users) to exec
Format string exploitation in TP-Link's Tapo C520WS v2 ONVIF management service allows an authenticated attacker on an a
Stack-based buffer overflow in TP-Link Tapo C520WS v2 allows an authenticated attacker with adjacent network access to c
Stack-based buffer overflow in the ONVIF CreateUsers service of the TP-Link Tapo C520WS v2 IP camera allows an authentic
EUVD-2026-34937
GHSA-m9ww-xwm5-pf57
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB