CVE-2019-25651
Ubiquiti UniFi Devices Use of AES-CBC Allows Key Recovery and Unauthorized Device Control
Mitigation
- Upgrade UniFi Network Controller to 5.10.12 or later.
- Upgrade UniFi UAP Firmware to 4.0.6 or later.
- Upgrade UniFi UAP-AC Firmware to 3.8.17 or later.
- Upgrade UniFi USW Firmware to 4.0.6 or later.
- Upgrade UniFi USG Firmware to 4.4.34 or later.
Who should check
- Anyone running Ubiquiti UniFi Network Controller < 5.6.42; >= 5.6.43, < 5.10.12
- Anyone running Ubiquiti UniFi UAP Firmware < 4.0.6
- Anyone running Ubiquiti UniFi UAP-AC Firmware < 3.8.17
- Anyone running Ubiquiti UniFi USW Firmware < 4.0.6
- Anyone running Ubiquiti UniFi USG Firmware < 4.4.34
Vulnerability facts
- Affected
- Ubiquiti UniFi Network Controller < 5.6.42; >= 5.6.43, < 5.10.12; Ubiquiti UniFi UAP Firmware < 4.0.6; Ubiquiti UniFi UAP-AC Firmware < 3.8.17; Ubiquiti UniFi USW Firmware < 4.0.6; Ubiquiti UniFi USG Firmware < 4.4.34
- Fixed in
- Ubiquiti UniFi Network Controller 5.6.42, Ubiquiti UniFi Network Controller 5.10.12, Ubiquiti UniFi UAP Firmware 4.0.6, Ubiquiti UniFi UAP-AC Firmware 3.8.17, Ubiquiti UniFi USW Firmware 4.0.6, Ubiquiti UniFi USG Firmware 4.4.34
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 9.0 (v4.0, CNA)CVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: High
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: High
- Integrity impact on other systems: High
- Availability impact on other systems: High
- EPSS
- 0.09% chance of exploitation in 30 days (percentile 0, 2026-11-26)
- CWE
- CWE-327
- Modified
Description
Ubiquiti UniFi Network Controller prior to 5.10.12 (excluding 5.6.42), UAP FW prior to 4.0.6, UAP-AC, UAP-AC v2, and UAP-AC Outdoor FW prior to 3.8.17, USW FW prior to 4.0.6, USG FW prior to 4.4.34 uses AES-CBC encryption for device-to-controller communication, which contains cryptographic weaknesses that allow attackers to recover encryption keys from captured traffic. Attackers with adjacent network access can capture sufficient encrypted traffic and exploit AES-CBC mode vulnerabilities to derive the encryption keys, enabling unauthorized control and management of network devices.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2019-25651. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2019-25651.md Affected: Ubiquiti UniFi Network Controller < 5.6.42; >= 5.6.43, < 5.10.12; Ubiquiti UniFi UAP Firmware < 4.0.6; Ubiquiti UniFi UAP-AC Firmware < 3.8.17; Ubiquiti UniFi USW Firmware < 4.0.6; Ubiquiti UniFi USG Firmware < 4.4.34 Fixed in: Ubiquiti UniFi Network Controller 5.6.42, Ubiquiti UniFi Network Controller 5.10.12, Ubiquiti UniFi UAP Firmware 4.0.6, Ubiquiti UniFi UAP-AC Firmware 3.8.17, Ubiquiti UniFi USW Firmware 4.0.6, Ubiquiti UniFi USG Firmware 4.4.34 Steps: 1. Search this machine and project for Ubiquiti UniFi Network Controller, Ubiquiti UniFi UAP Firmware, Ubiquiti UniFi UAP-AC Firmware, Ubiquiti UniFi USW Firmware, Ubiquiti UniFi USG Firmware: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2019-25651 being exploited?
There is no confirmed exploitation: CVE-2019-25651 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.09% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2019-25651?
Critical: CVSS 9.0 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2019-25651?
Ubiquiti UniFi Network Controller < 5.6.42; >= 5.6.43, < 5.10.12; Ubiquiti UniFi UAP Firmware < 4.0.6; Ubiquiti UniFi UAP-AC Firmware < 3.8.17; Ubiquiti UniFi USW Firmware < 4.0.6; Ubiquiti UniFi USG Firmware < 4.4.34.
Is there a fix for CVE-2019-25651?
Yes. Fixed in Ubiquiti UniFi Network Controller 5.6.42, Ubiquiti UniFi Network Controller 5.10.12, Ubiquiti UniFi UAP Firmware 4.0.6, Ubiquiti UniFi UAP-AC Firmware 3.8.17, Ubiquiti UniFi USW Firmware 4.0.6, Ubiquiti UniFi USG Firmware 4.4.34. Upgrade UniFi Network Controller to 5.10.12 or later. Upgrade UniFi UAP Firmware to 4.0.6 or later. Upgrade UniFi UAP-AC Firmware to 3.8.17 or later. Upgrade UniFi USW Firmware to 4.0.6 or later. Upgrade UniFi USG Firmware to 4.4.34 or later.
How do I check if I'm affected by CVE-2019-25651?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.