A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-6239

CVE-2026-6239: Tapo C520WS Buffer Overflow DoS Vulnerability

CVE-2026-6239 is a stack-based buffer overflow in Tapo C520WS v2 ONVIF service that enables denial-of-service attacks. This article covers the technical details, exploitation methods, and mitigation strategies.

Published: June 11, 2026

CVE-2026-6239 Overview

CVE-2026-6239 is a stack-based buffer overflow [CWE-121] in the TP-Link Tapo C520WS v2 IP camera. The vulnerability resides in the Open Network Video Interface Forum (ONVIF) CreateUsers service. The device fails to validate the number of XML user nodes during request processing. An authenticated attacker on an adjacent network can send a crafted ONVIF request containing an excessive number of user entries. The malformed request triggers memory corruption on the device stack. Successful exploitation terminates the ONVIF management service, producing a denial-of-service (DoS) condition that disrupts device configuration and management.

Critical Impact

Authenticated adjacent-network attackers can crash the ONVIF management service on Tapo C520WS v2 cameras, disabling remote configuration and management of the device.

Affected Products

  • TP-Link Tapo C520WS v2 (IP camera)
  • ONVIF CreateUsers service implementation on affected firmware
  • Deployments exposing the camera ONVIF interface on the local network

Discovery Timeline

  • 2026-06-06 - CVE-2026-6239 published to the National Vulnerability Database (NVD)
  • 2026-06-08 - Last updated in NVD database

Technical Details for CVE-2026-6239

Vulnerability Analysis

The flaw is a stack-based buffer overflow in the ONVIF CreateUsers handler on the Tapo C520WS v2. ONVIF is a standard for IP-based physical security products and uses SOAP-style XML requests over HTTP. The CreateUsers operation accepts a list of user records inside the SOAP request body. Each User element is parsed and copied into a fixed-size buffer on the stack. The service fails to validate the number of User nodes supplied before processing. Supplying many user nodes causes the parser to write past the bounds of the stack buffer, corrupting adjacent frame data including the saved return address. The result is an immediate crash of the ONVIF management service and loss of remote management capability.

Root Cause

The root cause is missing input length validation in the ONVIF request parser [CWE-121]. The handler iterates over child XML nodes representing users and copies each entry into a stack-allocated structure. No bounds check enforces the maximum number of nodes against the buffer capacity. Authentication is required, so the attacker must already hold valid ONVIF credentials on the device.

Attack Vector

The attack vector is Adjacent Network. An attacker on the same logical network segment as the camera authenticates to the ONVIF endpoint. The attacker then issues a SOAP CreateUsers request containing a large array of <User> child elements. The oversized node list overflows the stack buffer and crashes the ONVIF service. The vulnerability does not yield confidentiality or integrity impact according to the published CVSS vector. The realized impact is availability loss against device management.

No verified proof-of-concept code is published. See the TP-Link Tapo C520WS Firmware Release Notes for firmware change details.

Detection Methods for CVE-2026-6239

Indicators of Compromise

  • Unexpected restart or unavailability of the ONVIF management service on Tapo C520WS v2 cameras
  • Loss of ONVIF discovery or configuration responses from the camera following authenticated client traffic
  • SOAP requests targeting the CreateUsers operation containing an unusually large number of <User> XML elements

Detection Strategies

  • Inspect HTTP/SOAP traffic to camera ONVIF endpoints for CreateUsers requests with abnormally large bodies or repeated <User> nodes
  • Correlate ONVIF authentication events with subsequent camera offline or service-restart events to identify exploitation attempts
  • Alert on repeated authenticated ONVIF sessions from a single host followed by camera disconnects on the management VLAN

Monitoring Recommendations

  • Monitor camera availability through ICMP, ONVIF probe, or NVR heartbeat checks and alert on repeated drops
  • Log all ONVIF authentication attempts and rotate credentials that are shared across deployments
  • Capture network flow data on the IoT or camera VLAN to retain forensic evidence of malformed SOAP requests

How to Mitigate CVE-2026-6239

Immediate Actions Required

  • Apply the latest firmware for the Tapo C520WS v2 published on the TP-Link Tapo C520WS Firmware Release Notes page
  • Restrict ONVIF access on the camera to a dedicated management VLAN reachable only by the NVR and authorized administrators
  • Rotate ONVIF account credentials and remove any unused accounts on affected cameras
  • Review camera access logs for unexpected authenticated sessions from unknown hosts

Patch Information

TP-Link publishes firmware updates for the Tapo C520WS on its support portal. Consult the TP-Link Tapo C520WS Firmware Release Notes and the TP-Link Tapo C520WS FAQ for the firmware version that addresses CVE-2026-6239 and for upgrade instructions. Validate firmware integrity using vendor-provided checksums before deployment.

Workarounds

  • Block inbound ONVIF traffic (typically TCP/80, TCP/8080, or vendor-specific ports) to the camera from untrusted network segments using a firewall or switch ACL
  • Disable ONVIF on the camera if it is not required by the recording or management platform
  • Place affected cameras behind a network segmentation boundary that allows only the NVR management host to reach the ONVIF endpoint
bash
# Example: restrict ONVIF access to the NVR host only (Linux iptables)
# Replace CAMERA_IP and NVR_IP with the deployment values
iptables -A FORWARD -p tcp -d CAMERA_IP --dport 8080 -s NVR_IP -j ACCEPT
iptables -A FORWARD -p tcp -d CAMERA_IP --dport 8080 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechTapo

  • SeverityMEDIUM

  • CVSS Score6.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • 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/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-121
  • Technical References
  • TP-Link Tapo C520WS Firmware Notes

  • TP-Link Tapo C520WS Firmware Notes

  • TP-Link Tapo C520WS FAQ
  • Related CVEs
  • CVE-2026-6240: Tapo C520WS Buffer Overflow DoS Vulnerability

  • CVE-2026-6242: Tapo C520WS Format String DoS Vulnerability

  • CVE-2026-6241: Tapo C520WS Format String DoS Vulnerability

  • CVE-2026-1315: Tapo Camera DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English