CVE-2025-23123 Memory corruption in UniFi Protect Cameras

Critical 10.0 Published Updated

An attacker on the management network can achieve remote code execution via a heap buffer overflow in UniFi Protect Cameras firmware.

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-23123?

CVE-2025-23123 is a critical memory corruption vulnerability in Ubiquiti Inc UniFi Protect Cameras, published on 19 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A malicious actor with access to the management network could execute a remote code execution (RCE) by exploiting a heap buffer overflow vulnerability in the UniFi Protect Cameras (Version 4.75.43 and earlier) firmware.

Weakness: CWE-122

Which versions are affected by CVE-2025-23123?

How do I fix CVE-2025-23123?

No fix has been published for CVE-2025-23123 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-23123 being exploited?

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

Sources

Also known as GHSA-x332-7vgm-8pp2.

Is CVE-2025-23123 in your software?

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

Check your SBOMs for free