CVE-2025-66177 is a stack-based buffer overflow vulnerability in the Search and Discovery feature of certain Hikvision NVR, DVR, CVR, and IPC products. The flaw can be triggered by sending specially crafted packets to an unpatched device over the same local area network. The vulnerable condition exists in the device discovery functionality used for network detection and does not require authentication or user interaction. Successful exploitation can cause the target device to malfunction, and the published CVSS v3.1 vector indicates high potential impact to confidentiality, integrity, and availability.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a single Ruby Metasploit module, metasploit_sadp_exchange.rb, implementing an unauthenticated remote code execution exploit against Hikvision devices speaking the SADP protocol over UDP. Because it is a Metasploit module, the analysis is focused on that file only. The module is structured as a remote UDP exploit using Metasploit's Msf::Exploit::Remote::Udp mixin. Metadata identifies the target as Hikvision SADP RCE, platform linux, architecture ARM little-endian, with a default payload of linux/armle/shell_reverse_tcp. Default targeting uses UDP port 37020 and multicast address 239.255.255.250, which is consistent with SADP discovery behavior. Operationally, the exploit first sends a multicast SADP inquiry and collects device responses. It parses returned XML/device information and appears to filter candidate devices by firmware version using the VULN_FW option, defaulting to 4.83 and 4.72. The code includes two custom shellcode builders, one for each firmware family, which embed the operator's LHOST and LPORT directly into ARM shellcode and invoke /bin/sh for a reverse shell. A notable capability beyond simple delivery is memory disclosure. The module contains leak_libc_symbols and leak_address routines that craft a large base64-encoded payload inside an XML <Probe> message with <Types>exchangecode</Types>. This is sent over UDP to the SADP multicast target, and the response is parsed for leaked bytes from the <MAC> field. That indicates the exploit likely uses an information leak primitive to recover addresses needed for reliable exploitation across firmware variants. Overall, this is a real exploit module rather than a detector. It performs network discovery, target parsing, firmware selection, memory leakage, and payload delivery to obtain unauthenticated code execution with a reverse shell on vulnerable Hikvision devices.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Buffer overflow vulnerability in Hikvision device discovery functionality, mentioned only as background comparison.
Unknown
A high-severity stack overflow vulnerability in Hikvision’s Search and Discovery feature affecting multiple Hikvision video device series; exploitable by LAN-adjacent attackers via crafted packets without authentication, potentially causing device malfunction/crash (DoS) and high CIA impact.
A stack overflow vulnerability in the Search and Discovery feature of Hikvision NVR, DVR, CVR, and IPC devices that could allow an attacker on the same LAN to cause device malfunction via specially crafted packets.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.