Unauthenticated code execution via crafted network packets
Published Jul 23, 2025 · Updated Jul 23, 2025
Buffer overflow in Dahua IPC and SD camera firmware built before April 16, 2025 allows remote attackers to crash devices or execute code. Dahua has not disclosed the affected packet protocol, parser, buffer, or missing bounds check beyond stating that crafted malicious packets trigger the overflow. No authentication or user interaction is required, but exploitation has high complexity; ASLR reduces code-execution reliability while device crashes remain feasible.
Summary
What happened
Buffer overflow in Dahua IPC and SD camera firmware built before April 16, 2025 allows remote attackers to crash devices or execute code. Dahua has not disclosed the affected packet protocol, parser, buffer, or missing bounds check beyond stating that crafted malicious packets trigger the overflow. No authentication or user interaction is required, but exploitation has high complexity; ASLR reduces code-execution reliability while device crashes remain feasible.
The record
- CVE
- CVE-2025-31700
- Published
- Jul 23, 2025
- Updated
- Jul 23, 2025
- Vendor
- Zhejiang Dahua Technology Co., Ltd.
- Product
- IPC
- Classifications
- T1210
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 23, 2025CVE publishedPublication date reported by the CVE source.
- Jul 23, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Affected products include certain models from the IPC-1XXX, IPC-2XXX, IPC-WX, and IPC-ECXX series, and limited to versions which build time before April 16, 2025.
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- dahua_rce.py buffer-overflow DoS probeproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo