CVE-2025-31700 Memory corruption in IPC

High 8.1 Published Updated

Attackers can cause crashes or execute code remotely via buffer overflow in Dahua IP cameras and SD devices.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-31700?

CVE-2025-31700 is a high-severity memory corruption vulnerability in Dahua IPC, published on 23 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability has been found in Dahua products.

Attackers could exploit a buffer overflow vulnerability by sending specially crafted malicious packets, potentially causing service disruption (e.g., crashes) or remote code execution (RCE). Some devices may have deployed protection mechanisms such as Address Space Layout Randomization (ASLR), which reduces the likelihood of successful RCE exploitation. However, denial-of-service (DoS) attacks remain a concern.

Weakness: CWE-120

Which versions are affected by CVE-2025-31700?

How do I fix CVE-2025-31700?

No fix has been published for CVE-2025-31700 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-31700 being exploited?

There is no known exploitation of CVE-2025-31700 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-58gx-pg7f-pm8j.

Is CVE-2025-31700 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free