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
    • 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-2025-66177

CVE-2025-66177: Hikvision Device Buffer Overflow Flaw

CVE-2025-66177 is a stack overflow vulnerability in Hikvision NVR/DVR/CVR/IPC device discovery that allows LAN attackers to crash devices with crafted packets. This article covers technical details, affected systems, and mitigations.

Updated: January 22, 2026

CVE-2025-66177 Overview

A stack overflow vulnerability exists in the device Search and Discovery feature of Hikvision NVR/DVR/CVR/IPC models. This critical firmware vulnerability affects network video recorders, digital video recorders, centralized video recorders, and IP cameras manufactured by Hikvision. If exploited, an attacker on the same local area network (LAN) could cause the device to malfunction by sending specially crafted packets to an unpatched device.

Critical Impact

Attackers on the local network can exploit this stack overflow to cause device malfunction, potentially leading to complete compromise of confidentiality, integrity, and availability of the affected surveillance systems.

Affected Products

  • Hikvision Network Video Recorders (NVR)
  • Hikvision Digital Video Recorders (DVR)
  • Hikvision Centralized Video Recorders (CVR)
  • Hikvision IP Cameras (IPC)

Discovery Timeline

  • 2026-01-13 - CVE-2025-66177 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2025-66177

Vulnerability Analysis

This vulnerability is classified as CWE-121 (Stack-based Buffer Overflow), a memory corruption issue that occurs when user-controlled input exceeds the allocated buffer size on the stack. The device Search and Discovery feature in affected Hikvision products fails to properly validate the size of incoming network packets before copying data to a fixed-size stack buffer.

The adjacent network attack vector means that an attacker must be on the same local area network as the vulnerable device to exploit this vulnerability. Once in position, the attacker can send specially crafted packets to trigger the overflow condition without requiring any authentication or user interaction.

Root Cause

The root cause is improper bounds checking in the Search and Discovery network service. When processing discovery packets, the firmware copies packet data into a stack-allocated buffer without verifying that the input length does not exceed the buffer capacity. This allows an attacker to overwrite adjacent stack memory, including return addresses and saved registers, potentially leading to arbitrary code execution or device crash.

Attack Vector

The attack requires adjacency to the target network—meaning the attacker must have access to the same LAN segment as the vulnerable Hikvision device. The Search and Discovery feature typically listens on a UDP port for device enumeration requests, making it accessible to any device on the local network.

An attacker would craft a malicious discovery packet with an oversized payload designed to overflow the stack buffer. When the vulnerable device processes this packet, the excess data overwrites critical stack structures. Depending on the payload, this could result in:

  • Device crash and denial of service
  • Corruption of device configuration
  • Potential remote code execution if return addresses are controlled

The attack requires no privileges or authentication, and no user interaction is needed—making it particularly dangerous in environments where network access is not strictly controlled.

Detection Methods for CVE-2025-66177

Indicators of Compromise

  • Unexpected device reboots or crashes of Hikvision NVR/DVR/CVR/IPC equipment
  • Unusual network traffic patterns on the local network targeting Hikvision discovery ports
  • Multiple malformed or oversized UDP packets directed at surveillance devices
  • Device configuration changes or loss of recorded footage following suspicious network activity

Detection Strategies

  • Deploy network intrusion detection systems (NIDS) to monitor for anomalous traffic patterns targeting Hikvision device discovery services
  • Implement packet inspection rules to detect oversized or malformed discovery protocol packets
  • Configure alerting for repeated device crashes or unexpected reboots of surveillance equipment
  • Monitor for unauthorized devices on network segments containing Hikvision equipment

Monitoring Recommendations

  • Enable logging on network switches and firewalls for traffic destined to Hikvision devices
  • Implement network segmentation monitoring to detect lateral movement toward surveillance VLANs
  • Deploy SentinelOne agents on networked systems to detect attack staging and reconnaissance activities
  • Establish baseline network behavior for discovery protocol traffic and alert on deviations

How to Mitigate CVE-2025-66177

Immediate Actions Required

  • Apply firmware updates from Hikvision immediately to all affected NVR/DVR/CVR/IPC devices
  • Isolate vulnerable Hikvision devices on dedicated network segments with strict access controls
  • Disable the Search and Discovery feature if not required for operations
  • Implement network access controls to restrict which devices can communicate with surveillance equipment
  • Review and audit all devices on network segments containing vulnerable Hikvision equipment

Patch Information

Hikvision has released security patches to address this buffer overflow vulnerability. Administrators should consult the Hikvision Security Advisory for the complete list of affected firmware versions and download the appropriate updates for their specific device models.

Firmware updates should be applied during a scheduled maintenance window, and devices should be backed up prior to updating. After patching, verify device functionality and confirm the new firmware version is installed correctly.

Workarounds

  • Implement VLAN segmentation to isolate surveillance devices from general network traffic
  • Configure firewall rules to block untrusted hosts from accessing device discovery services
  • Disable the Search and Discovery feature via device configuration if the functionality is not required
  • Deploy network access control (NAC) to prevent unauthorized devices from joining surveillance network segments
bash
# Network segmentation example - isolate surveillance devices
# Create dedicated VLAN for Hikvision devices
vlan 100
  name SURVEILLANCE_DEVICES
  
# Apply access control list to restrict discovery traffic
ip access-list extended HIKVISION_PROTECT
  permit udp host <management_station> any eq 37020
  deny udp any any eq 37020
  permit ip any any
  
# Apply ACL to VLAN interface
interface vlan 100
  ip access-group HIKVISION_PROTECT in

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechHikvision

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-121
  • Technical References
  • Hikvision Security Advisory
  • Related CVEs
  • CVE-2026-0709: Hikvision Wireless Access Point RCE Flaw

  • CVE-2025-66176: Hikvision Access Control DoS Vulnerability

  • CVE-2025-34067: Hikvision Platform RCE Vulnerability

  • CVE-2021-36260: Hikvision Camera Firmware RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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