CVE-2025-23115 Use after free in UniFi Protect Cameras

Critical 9.0 Published Updated

A use-after-free flaw in UniFi Protect Cameras allows remote code execution for attackers on the management network.

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

CVE-2025-23115 is a critical use after free vulnerability in Ubiquiti Inc UniFi Protect Cameras, published on 1 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Use After Free vulnerability on UniFi Protect Cameras could allow a Remote Code Execution (RCE) by a malicious actor with access to UniFi Protect Cameras management network.

Weakness: CWE-416

Which versions are affected by CVE-2025-23115?

How do I fix CVE-2025-23115?

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

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-23115 being exploited?

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

Sources

Also known as GHSA-9gc7-wxx3-hpww.

Is CVE-2025-23115 in your software?

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

Check your SBOMs for free