Huawei HarmonyOS
CVE-2025-58287
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInstall or compromise low-privileged app on device
-
ExploitInvoke office service to trigger use-after-free
-
ImpactRead freed memory and disclose confidential data
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V8 - Authorization Permission management
|
| Exploitation Conditions | Exploitation requires local access to the HarmonyOS device (AV:L) with low-level privileges already granted (PR:L) - specifically the ability to run an app that can invoke the affected office service. No user interaction is needed (UI:N). The limiting factors are substantial: the attacker must already have a foothold on the device as an installed/low-privileged app, exploitation is confined to triggering the use-after-free in the office service, and impact is restricted to confidentiality disclosure only (I:N/A:N) within the same privilege scope (S:U). Affected versions are HarmonyOS 5.0.1 and 5.1.0 per the CPE data. |
| Impact | This is a genuinely moderate, not high-priority, issue. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, base 5.5) describes a locally-exploitable use-after-free in the HarmonyOS office service that an already-present, low-privileged application can trigger to disclose confidential data (C:H) with no impact to integrity or availability. All exploitation signals point the same direction: EPSS is very low at 0.10% (1st percentile), the CVE is NOT on CISA KEV, and no public exploit code is referenced - so there is no public exploit identified at time of analysis and no evidence of active exploitation. The local attack vector (AV:L) is the dominant limiting factor: an attacker must already be able to run code on the device, which sharply reduces real-world risk despite the HIGH confidentiality impact. Two data conflicts should be verified: (1) the description states a Use-After-Free, but the assigned CWE-275 is a permissions/privilege-management weakness - the CWE appears mislabeled relative to the described memory-safety flaw; (2) the input Tags include 'Denial Of Service' and 'Microsoft', both of which contradict the actual data (the vector is confidentiality-only with A:N, not a DoS, and the product is Huawei HarmonyOS, not a Microsoft product). Overall this is a real but lower-tier mobile/OS memory-safety bug best handled via routine patching rather than emergency response. |
| Exploit ScenarioDerived | A malicious or compromised low-privileged app installed on a HarmonyOS device invokes the office service in a way that triggers the use-after-free, causing the service to read freed memory and leak sensitive data belonging to the service or other contexts back to the attacker's app. No user interaction is required, but the attacker must already have local code execution on the device. No public proof-of-concept or exploit code was identified in the provided intelligence. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Use-after-free in Huawei HarmonyOS 5.0.1 and 5.1.0 office service allows a locally installed low-privileged app to trigger memory corruption and potentially read confidential data from the service's memory. Exploitation requires local access and low privileges (AV:L/PR:L), with no user interaction (UI:N), and impact is limited to confidentiality (C:H/I:N/A:N) within the same security scope (S:U). No public exploit identified at time of analysis, and EPSS is low at 0.10% (1st percentile).
RemediationAI
Apply the Huawei HarmonyOS security update referenced in the October 2025 vendor bulletin (https://consumer.huawei.com/en/support/bulletin/2025/10/); upgrade affected HarmonyOS 5.0.1 and 5.1.0 devices to the patched build once Huawei publishes it, as no exact fix version is confirmed in the provided data. Until then, reduce exposure by limiting installation of untrusted or low-privileged third-party apps, reviewing app permissions that allow interaction with the office service, and monitoring for abnormal office service crashes or memory-related errors. If the office service is not required, consider disabling or restricting access to it, but this may break document viewing/editing workflows. Because the attack vector is local (AV:L), network perimeter controls are not applicable; the main compensating control is endpoint app-vetting and privilege minimization, with the trade-off of reduced app flexibility.
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 vulnerability is in the HarmonyOS office service, a component that handles document/office-related operations. The provided CPE data identifies Huawei HarmonyOS 5.0.1 (cpe:2.3:o:huawei:harmonyos:5.0.1:*:*:*:*:*:*:*) and 5.1.0 (cpe:2.3:o:huawei:harmonyos:5.1.0:*:*:*:*:*:*:*) as affected. The input maps the issue to CWE-275 (Permission Issues), although the description and impact are consistent with a use-after-free (UAF): a dangling pointer to freed memory in the office service can be reused by an attacker-controlled local app, potentially disclosing data. The CVSS vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N confirms local attack, low privileges, no user interaction, and confidentiality-only impact; the independent assessment likewise rates this as a genuinely moderate issue rather than high-priority.
Know when Harmonyos 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:N
Local office-service UAF reachable by an already-installed low-privileged app gives AV:L/PR:L/UI:N; it leaks data only, so C:H with I:N/A:N and unchanged scope.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
Use After Free (UAF) vulnerability in the office service. Successful exploitation of this vulnerability may affect service confidentiality.
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
Affected Products (CPE)NVD
Out-of-bounds heap write in Huawei HarmonyOS WEB module allows unauthenticated remote attackers to execute arbitrary cod
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)
The DP module has a service hijacking vulnerability.Successful exploitation of this vulnerability may affect some Super
Vulnerability of out-of-bounds parameter read/write in the Wi-Fi module. Rated critical severity (CVSS 9.8), this vulner
Vulnerability of commands from the modem being intercepted in the atcmdserver module. Rated critical severity (CVSS 9.8)
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
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB