Cyber Resilience

CVE-2023-35085

Memory Safety in Ui Unifi Uap Firmware ≤ 6.5.50

Published
10 August 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0089 56th percentile
Risk Priority 79 floored blend · peak EPSS

Summary

CVE-2023-35085 is a critical-severity Integer Overflow or Wraparound (CWE-190) vulnerability in Ui Unifi Uap Firmware. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 44% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

An integer overflow vulnerability, tracked as CVE-2023-35085 and assigned CWE-190, affects UniFi Access Points running version 6.5.50 and earlier as well as UniFi Switches running version 6.5.32 and earlier, excluding the Switch Flex Mini. The flaw is present when SNMP monitoring is enabled under default settings and can result in remote code execution.

Unauthenticated remote attackers can exploit the issue over the network without user interaction to achieve full compromise of affected devices, as reflected in the CVSS 9.8 score indicating high impact to confidentiality, integrity, and availability.

Ubiquiti's security advisory directs administrators to update Access Points to version 6.5.62 or later and Switches to version 6.5.59 or later. The associated EPSS score reached a peak of 0.0704 after disclosure before receding to its current value of 0.0401.

EU & UK References

Vulnerability Data

An integer overflow vulnerability in all UniFi Access Points and Switches, excluding the Switch Flex Mini, with SNMP Monitoring and default settings enabled could allow a Remote Code Execution (RCE). Affected Products: All UniFi Access Points (Version 6.5.50 and earlier)…

more

All UniFi Switches (Version 6.5.32 and earlier) -USW Flex Mini excluded. Mitigation: Update UniFi Access Points to Version 6.5.62 or later. Update the UniFi Switches to Version 6.5.59 or later.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-38034Same product: Ui U6-Enterprise
CVE-2026-50748Same vendor: Ui
CVE-2026-54405Same vendor: Ui
CVE-2026-33000Same vendor: Ui
CVE-2026-34910Same vendor: Ui
CVE-2026-21634Same vendor: Ui
CVE-2023-31998Same vendor: Ui
CVE-2024-49994Shared CWE-190
CVE-2026-37540Shared CWE-190
CVE-2026-24210Shared CWE-190

Affected Assets

ui
unifi uap firmware
≤ 6.5.50
ui
unifi switch firmware
≤ 6.5.32

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V5.2.6

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require use of safe arithmetic, bounds checks, and testing that prevent integer overflows.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development can detect integer overflows before release.

prevents

Secure SDLC mandates input validation and arithmetic checks that prevent integer overflows.

degrades

Application security requirements include bounds checking and safe arithmetic to avoid overflow conditions.

degrades

Secure architecture principles require defensive coding patterns that mitigate integer wraparound risks.

prevents

Secure coding standards explicitly forbid unsafe integer operations and mandate overflow-safe constructs.

References