Huawei EMUI/HarmonyOS
CVE-2025-58311
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain low-privilege local code execution on device
-
DeliveryOpen and interact with vulnerable USB driver interface
-
ExploitTrigger use-after-free in USB driver module
-
ExecutionCorrupt freed kernel memory
-
ImpactLeak kernel data or crash device
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to already possess local, low-privileged access to the device (PR:L) - in practice, a locally installed/running application on a Huawei EMUI 14.0.0/14.2.0/15.0.0 or HarmonyOS 4.0.0-5.1.0 device - and the ability to reach the vulnerable USB driver module to drive it into the use-after-free state. No user interaction is required (UI:N) and no network reachability exists (AV:L), which limits exploitation strictly to attackers with an existing on-device foothold; remote, unauthenticated exploitation is NOT possible. The main limiting factors are the need for prior local code execution and the local-only attack surface, which substantially reduce real-world exposure despite the HIGH CVSS score. |
| Impact | This is a genuine but non-urgent, lower-tier priority. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H, 7.1 HIGH) describes a locally-exploitable use-after-free requiring a low-privileged foothold already on the device; it is not a remotely reachable flaw. The EPSS score is very low at 0.01% (1st percentile), the CVE is NOT on the CISA KEV list, and no public proof-of-concept was provided - all three exploitation signals agree that there is no evidence of active or imminent exploitation. There is no conflict between the signals here: a HIGH CVSS driven by local Confidentiality/Availability impact, combined with near-zero EPSS and no KEV/POC, consistently points to a real-but-latent kernel bug rather than a widespread exploitation threat. The practical risk is elevated mainly in scenarios where an attacker can already run low-privilege code on the device (e.g., a malicious or compromised app), where this UAF could be chained toward privilege escalation or information disclosure. |
| Exploit ScenarioDerived | A low-privileged malicious application installed on a Huawei EMUI or HarmonyOS device interacts with the vulnerable USB driver to trigger the use-after-free, corrupting kernel memory to leak sensitive kernel/driver data (confidentiality) or crash the device (availability/DoS). Because the CVSS vector is AV:L/PR:L/UI:N, no remote access or user interaction is needed once the attacker has local code execution. No public exploit code was identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Oct 18, 2026
Local attackers who already run low-privileged code on Huawei EMUI 14.0.0-15.0.0 or HarmonyOS 4.0.0-5.1.0 devices can trigger a use-after-free in the USB driver module, causing high confidentiality and availability impact. Exploitation requires an existing on-device foothold (PR:L) and local access only, with no user interaction or network reachability, so remote unauthenticated attacks are not possible. No public exploit identified at time of analysis and no confirmed active exploitation (CISA KEV); EPSS is 0.01% (1st percentile), making this a lower-tier priority.
Earlier versions of this analysis (2)
Use-after-free in the USB driver module of Huawei HarmonyOS and EMUI lets a local low-privilege application trigger memory corruption, potentially disclosing sensitive data and crashing or destabilizing the device. Affected versions include EMUI 14.0.0, 14.2.0, and 15.0.0 plus HarmonyOS 4.0.0 through 5.1.0. No public exploit identified at time of analysis and no CISA KEV entry was provided; EPSS is 0.01%, so risk is concentrated in local app-based attack scenarios rather than remote mass exploitation.
UAF vulnerability in the USB driver module. Rated medium severity (CVSS 5.8). No vendor patch available.
RemediationAI
Patch available per vendor advisory: apply the Huawei security update referenced in the November 2025 consumer bulletin at https://consumer.huawei.com/en/support/bulletin/2025/11/; the available data does not specify an exact fixed version, so follow Huawei's update instructions for EMUI 14.x/15.0.0 and HarmonyOS 4.x/5.x. Because exploitation requires a local low-privileged foothold, reduce exposure by enforcing MDM policies that block sideloaded or untrusted applications and by limiting installation to trusted app stores; the trade-off is reduced user flexibility. Avoid connecting untrusted USB peripherals or enabling developer/USB debugging on sensitive devices where policy permits, accepting possible loss of accessory or debugging functionality. Monitor for unexplained crashes or reboots that could indicate attempts to trigger the USB driver use-after-free.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-416 use-after-free in the USB driver module of Huawei's EMUI and HarmonyOS kernel/USB stack. Use-after-free means the driver frees a memory object-such as a USB request block, device context, or interface structure-but a later code path like an asynchronous completion callback, ioctl handler, or disconnect path still dereferences the stale pointer. An attacker with local low-privileged access can drive the USB driver into this state, potentially reading freed memory (confidentiality impact) or crashing the device (availability impact). CPE data enumerates EMUI 14.0.0, 14.2.0, 15.0.0 and HarmonyOS 4.0.0, 4.2.0, 4.3.0, 4.3.1, 5.0.1, 5.1.0 as affected; the CVSS vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H confirms local, low-privileged exploitation with no user interaction and no integrity impact.
Know when Emui gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
USB driver UAF needs an existing low-privilege local process (AV:L, PR:L), no interaction (UI:N); impact is kernel memory disclosure (C:H) and device crash (A:H), no integrity change (I:N).
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
UAF vulnerability in the USB driver module. Impact: Successful exploitation of this vulnerability will affect availability and confidentiality.
Executive ViewAI
Huawei smartphones and tablets running EMUI 14.0.0-15.0.0 or HarmonyOS 4.0.0-5.1.0 are exposed to a local USB driver flaw that can harm data confidentiality and availability once a low-privileged foothold exists on the device. Leadership should care because unpatched managed mobile devices could be used by malware already on the handset to deepen compromise, though remote unauthenticated exploitation is not possible and no public exploit identified at time of analysis.
No vendor-released patch identified at time of analysis; interim mitigations include enforcing MDM, disabling USB debugging, blocking sideloading and unknown apps, restricting USB accessories to approved devices, monitoring for anomalous device behavior, and planning upgrade or replacement for affected Huawei EMUI 14.0.0-15.0.0 and HarmonyOS 4.0.0-5.1.0 devices.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)NVD
Vulnerability of out-of-bounds parameter read/write in the Wi-Fi module. Rated critical severity (CVSS 9.8), this vulner
Permission verification vulnerability in the wpa_supplicant module Impact: Successful exploitation of this vulnerability
Permission management vulnerability in the PMS module. Rated critical severity (CVSS 9.8), this vulnerability is remotel
Vulnerability of access permissions not being strictly verified in the APPWidget module.Successful exploitation of this
Vulnerability of permissions not being strictly verified in the window management module.Successful exploitation of this
API permission management vulnerability in the Fwk-Display module.Successful exploitation of this vulnerability may caus
Vulnerability of defects introduced in the design process in the HiviewTunner module. Rated critical severity (CVSS 9.8)
Vulnerability of commands from the modem being intercepted in the atcmdserver module. Rated critical severity (CVSS 9.8)
Improper permission control vulnerability in the Notepad app.Successful exploitation of the vulnerability may lead to pr
Some smartphones have configuration issues. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab
Some smartphones have the out-of-bounds write vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is r
Some smartphones have the out-of-bounds write vulnerability.Successful exploitation of this vulnerability may cause syst
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB