Skip to main content
CVE-2025-58311VulnerabilityPublished

CVE-2025-58311: Huawei HarmonyOS · Use After Free

Affects Huawei HarmonyOSSource CVE Database V5

0

Not known to be exploited · CVSS 5.8 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.08% chance of exploitation in 30 days – higher than 0% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
Huawei HarmonyOSAffected
  • =5.1.0
  • =5.0.1
  • =4.3.1
  • =4.3.0
  • =4.2.0
  • =4.0.0
Fixed in–

AI-suggested

1. Restrict local access to Huawei HarmonyOS devices, ensuring that only trusted and authorized personnel have high privilege accounts. 2. Implement strict USB device control policies, including whitelisting approved USB devices and disabling unused USB ports to minimize attack vectors. 3. Educate users about the risks of interacting with unknown USB devices, emphasizing the need to avoid connecting untrusted peripherals. 4. Monitor system logs and USB driver behavior for anomalies indicative of exploitation attempts or crashes related to USB activity. 5. Prepare for rapid deployment of official patches once Huawei releases them, including testing in controlled environments before production rollout. 6. Employ endpoint detection and response (EDR) solutions capable of detecting suspicious local privilege activities and unusual USB device interactions. 7. Consider network segmentation and isolation of critical systems using HarmonyOS devices to limit lateral movement in case of compromise. 8. Coordinate with Huawei support and security advisories to stay informed about updates and mitigation guidance. 9. Conduct regular security audits and vulnerability assessments focusing on USB-related components and privilege management. 10. Develop incident response plans that include scenarios involving local privilege escalation and denial of service caused by USB driver vulnerabilities.

Description

CVE-2025-58311 is a use-after-free (UAF) vulnerability found in the USB driver module of Huawei's HarmonyOS versions 4.0.0 through 5.1.0. Exploiting this vulnerability requires local access with high privileges and user interaction, and it has a medium severity with a CVSS score of 5.8. Successful exploitation can lead to a loss of system availability and partial confidentiality compromise. The vulnerability affects the integrity of memory management in the USB driver, potentially causing system crashes or unauthorized data exposure. No known exploits are currently reported in the wild, and no patches have been published yet.

References

Community reviews

Loading reviews…