The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-20766

CVE-2026-20766: Milesight AIOT Buffer Overflow Flaw

CVE-2026-20766 is a buffer overflow vulnerability in Milesight AIOT cameras caused by out-of-bounds memory access. This critical flaw can compromise device security and allow unauthorized access or code execution.

Updated: May 15, 2026

CVE-2026-20766 Overview

CVE-2026-20766 is an out-of-bounds memory access vulnerability affecting specific firmware versions of Milesight AIOT cameras. The flaw is classified as a heap-based buffer overflow [CWE-122] and can be triggered remotely across the network. Successful exploitation can compromise the confidentiality, integrity, and availability of the affected device. The issue was disclosed through the Cybersecurity and Infrastructure Security Agency (CISA) Industrial Control Systems (ICS) advisory ICSA-26-113-03. Milesight AIOT cameras are deployed in operational technology (OT) and physical security environments, increasing the operational impact of any exploit.

Critical Impact

An unauthenticated network-adjacent attacker can trigger out-of-bounds memory access on affected Milesight AIOT cameras, potentially enabling remote code execution or denial of service against camera firmware.

Affected Products

  • Milesight AIOT cameras running specific affected firmware versions (see vendor advisory)
  • Refer to CISA ICS Advisory #ICSA-26-113-03 for the authoritative product and firmware list
  • Replacement firmware available from the Milesight Firmware Download portal

Discovery Timeline

  • 2026-04-28 - CVE-2026-20766 published to the National Vulnerability Database (NVD)
  • 2026-04-28 - Last updated in NVD database

Technical Details for CVE-2026-20766

Vulnerability Analysis

The vulnerability is an out-of-bounds memory access condition in the firmware of affected Milesight AIOT cameras. CISA classifies the weakness under [CWE-122] (Heap-Based Buffer Overflow), indicating that input is written or read past the bounds of a heap-allocated buffer. An attacker reachable over the network can deliver crafted input to the camera service to trigger the condition. The advisory indicates the issue requires user interaction, suggesting an administrator or operator must engage with attacker-supplied data, configuration, or a malicious endpoint for the flaw to fire.

Root Cause

The root cause is improper validation of size or offset values used when accessing heap-allocated memory in the camera firmware. When the firmware processes attacker-influenced input, it fails to enforce bounds against the destination buffer, resulting in reads or writes outside the allocated region. This corrupts adjacent heap structures and can be leveraged to alter control flow or crash the service.

Attack Vector

The attack vector is network-based and does not require pre-existing privileges, though it does require user interaction. An attacker crafts a malicious request or payload that the camera processes during normal handling. The resulting out-of-bounds operation can disclose memory contents, corrupt heap metadata, or crash the firmware. In the worst case, heap corruption is shaped into arbitrary code execution within the camera process context, granting attacker control over a network-resident OT device.

No public proof-of-concept code has been released. Technical details are described in the CISA CSAF JSON advisory file.

Detection Methods for CVE-2026-20766

Indicators of Compromise

  • Unexpected reboots, crash loops, or service restarts on Milesight AIOT cameras coinciding with inbound traffic from untrusted sources
  • Anomalous outbound connections originating from camera management interfaces to non-management hosts
  • Malformed or oversized requests directed at camera HTTP, RTSP, or ONVIF endpoints in network captures

Detection Strategies

  • Monitor network traffic to and from camera VLANs for protocol anomalies and oversized payloads targeting camera services
  • Compare running firmware versions against the patched releases listed in ICSA-26-113-03 and flag any device on a vulnerable build
  • Centralize camera and OT network telemetry for correlation with crash events and unusual administrative actions

Monitoring Recommendations

  • Forward camera, switch, and firewall logs into a centralized analytics platform to detect repeated probing of camera endpoints
  • Alert on new or unauthorized outbound sessions from camera subnets to internet destinations
  • Track firmware hashes and version strings as configuration items so drift from approved baselines surfaces quickly

How to Mitigate CVE-2026-20766

Immediate Actions Required

  • Inventory all Milesight AIOT cameras and identify devices running firmware versions called out in ICSA-26-113-03
  • Apply the vendor-supplied firmware update from the Milesight Firmware Download portal as soon as it is validated for the environment
  • Restrict network reachability to camera management and streaming interfaces until patching is complete

Patch Information

Milesight has published updated firmware addressing CVE-2026-20766. Operators should obtain fixed builds from the Milesight Firmware Download portal and follow the upgrade procedure documented in CISA ICS Advisory #ICSA-26-113-03. Verify firmware integrity before deployment and reboot devices to complete the update.

Workarounds

  • Place affected cameras on isolated VLANs with no direct internet exposure and restrict inbound access to known management hosts
  • Enforce strict firewall rules permitting only required ports and source addresses to reach camera services
  • Disable unused camera services and protocols, including remote management features that are not operationally required
  • Require VPN or jump-host access for any administrative interaction with camera management interfaces
bash
# Example: restrict access to camera management subnet to a known admin host
# Replace 10.10.50.0/24 with the camera VLAN and 10.20.0.10 with the admin host
iptables -A FORWARD -s 10.20.0.10/32 -d 10.10.50.0/24 -p tcp --dport 443 -j ACCEPT
iptables -A FORWARD -d 10.10.50.0/24 -j DROP

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechMilesight

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-122
  • Technical References
  • GitHub CSAF JSON File

  • CISA ICS Advisory #ICSA-26-113-03

  • Milesight Firmware Download
  • Related CVEs
  • CVE-2026-32649: Milesight Camera RCE Vulnerability

  • CVE-2026-32644: Milesight AIOT Camera SSL Vulnerability

  • CVE-2026-27785: Milesight AIOT Camera Auth Bypass Flaw

  • CVE-2026-28747: Milesight AIOT Camera Auth Bypass Flaw
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