What happened
A vulnerability has been identified in certain UniFi gateway devices, including Dream Machines, Enterprise Firewalls, Dream Routers, Cloud Gateways, Dream Wall, Express, Express 7, and UniFi Gateways. This flaw, identified as CVE-2026-77558, is an Out-of-bounds Read vulnerability that can be exploited by a malicious actor with network access. Exploitation of this vulnerability may result in a Denial of Service (DoS) condition, causing the affected device to become unresponsive. The vulnerability occurs due to an out-of-bounds read in the affected component of the device's software, which can be triggered remotely over the network without any prior authentication or user involvement. The defect has been assigned a high severity score, with a CVSS base score of 7.5, indicating significant impact through service disruption. Vendor advisories confirm that a fix has been released for some affected versions, specifically versions before 5.1.31 for Dream Machines and Enterprise Firewalls, Dream Routers, Cloud Gateways, and Dream Wall, as well as before 4.0.21 for Express devices. It is critical to apply the patched versions promptly to mitigate the risk of exploitation. The vulnerability's general attack path involves an exposed network service being directly targeted by an attacker, underscoring the importance of network security controls and segmentation to limit exposure. No user interaction is required for the attack, making it particularly concerning for organizations with exposed gateway devices. Affected deployments should review their security posture and ensure the latest patches are implemented where available.
Who is affected
Any organisation running affected versions of UniFi gateway devices, including Dream Machines, Enterprise Firewalls, Dream Routers, Cloud Gateways, Dream Wall, Express, Express 7, and UniFi Gateways, is potentially impacted. Devices with versions prior to the mentioned patched versions are at risk. Specifically, those running versions before 5.1.31 for most components, and before 4.0.21 for Express devices, are vulnerable. The impact is the potential for the device to become unresponsive due to the exploit, which could lead to service disruption. Since the attack vector involves remote access to exposed network services, organisations with publicly accessible or improperly secured network interfaces face higher risks. No prior access or user involvement is necessary for an exploit to succeed, amplifying the importance of access controls and network security configurations.
Recommended actions
- Review current software versions of impacted devices and verify if they are running versions before 5.1.31 or 4.0.21 as applicable to the device model.
- Apply available patches to update affected devices to versions that resolve the vulnerability. Consulting vendor advisories or support channels can confirm the correct patched versions.
- Implement network controls and segmentation measures to restrict exposure of gateway devices to untrusted or external networks.
- Review and strengthen access controls on network services to limit direct access where possible, reducing attack surface.
- Regularly monitor network traffic for signs of unusual activity that could indicate exploitation attempts.

