Skip to main content

Huawei HarmonyOS CVE-2025-58301

MEDIUM
Stack-based Buffer Overflow (CWE-121)
2025-10-11 psirt@huawei.com
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privileged access on device
  2. Exploit
    Send malformed input to device management module
  3. Execution
    Trigger stack buffer overflow (CWE-121)
  4. Impact
    Crash service or degrade availability

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local access to a Huawei HarmonyOS 5.0.1 or 5.1.0 device and low-level privileges (PR:L) - for example, a running application context or limited local account able to reach the device management module; it cannot be triggered remotely over a network (AV:L). No user interaction is needed (UI:N). The impact is limited to availability (A:H only, with C:N/I:N), meaning the realistic outcome is a crash or denial of service of the affected component rather than code execution, data theft, or tampering. Limiting factors that reduce real-world risk: the mandatory local presence, the requirement for at least low privileges, and the absence of any confidentiality or integrity consequence.

Impact

This is a moderate-severity, low-priority issue in practice. The CVSS 3.1 base score of 5.5 reflects a local-only attack vector (AV:L), low attack complexity (AC:L), low privileges required (PR:L), no user interaction (UI:N), and an impact limited strictly to availability (C:N/I:N/A:H) with no scope change (S:U). All exploitation signals point away from urgency: EPSS is 0.09% (0th percentile), the CVE is not in CISA KEV, and no public proof-of-concept exists. The signals are internally consistent - a local, authenticated attacker can crash or degrade the device, but there is no remote reach and no confidentiality or integrity impact. There is no conflict between the CVSS vector and the description: both indicate local, privilege-dependent access affecting only availability. This is a genuinely lower-risk, denial-of-service-class flaw rather than a high-impact priority; it should be patched during routine maintenance unless the affected device plays an availability-critical role.

Exploit ScenarioDerived

A local, low-privileged attacker (e.g., a malicious or compromised app, or a user with limited shell access) on a HarmonyOS 5.0.1 or 5.1.0 device sends malformed input to the device management module, triggering a stack-based buffer overflow (CWE-121) that corrupts the stack and crashes the affected service or device. No public exploit code has been identified, and exploitation is confined to local access with no remote network path.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

A stack-based buffer overflow (CWE-121) in the device management module of Huawei HarmonyOS 5.0.1 and 5.1.0 can be triggered by a local actor holding low-level privileges, resulting in a crash or denial of service of the affected component. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) confirms the attack surface is local rather than remote, requires at least low privileges, needs no user interaction, and is limited to availability impact with no confidentiality or integrity consequence - a successful exploit cannot read data, alter data, or execute attacker-controlled code based on the assessed vector. Risk is low in practice: EPSS is only 0.09% (0th percentile), there is no CISA KEV listing, and no public exploit code has been identified at time of analysis.

RemediationAI

Huawei has published a security bulletin covering this issue in its October 2025 consumer bulletin (https://consumer.huawei.com/en/support/bulletin/2025/10/), and the primary remediation is to apply the vendor-supplied update for HarmonyOS listed in that bulletin - no exact fixed build number is present in the supplied data, so confirm the patched version for each affected device model directly in the advisory before updating. Where updating immediately is not possible, the practical compensating controls follow directly from the assessed vector: because exploitation requires local presence and at least low-level privileges (AV:L/PR:L), restrict installation of untrusted or sideloaded applications, review and minimize granted permissions for applications that can reach device management functionality, and remove or suspend low-trust local accounts and services on managed fleets; enforcement of Huawei's app-signing and app-store-only installation policies materially shrinks the attack surface, though the trade-off is reduced flexibility for legitimate side-loaded tooling. Because impact is limited to availability (A:H only, C:N/I:N), there is no data-exfiltration or tampering exposure to mitigate, and the residual risk of an unpatched device is a component crash/denial of service rather than disclosure or code execution; at 0.09% EPSS with no KEV listing and no public exploit code identified, this can be scheduled within a routine patch cycle rather than treated as an emergency.

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 stack-based buffer overflow (CWE-121) in the HarmonyOS device management module, a system component responsible for device configuration and management operations on the platform. The weakness class involves copying or writing more data into a fixed-size stack buffer than it can hold, corrupting adjacent stack memory such as saved registers or the return address; because the overwritten data is stack-resident, the typical failure mode is memory corruption leading to a process abort rather than a controlled write primitive. The assessed CVSS vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) places the vulnerability firmly in the local-attack, low-privilege, availability-only category: the attacker must already be executing on the device (for example from an application context or limited local account) and must be able to reach the device management interface, and the sole demonstrable impact is loss of availability - no scope change, no confidentiality or integrity impact. Affected builds are identified by CPE entries for huawei:harmonyos:5.0.1 and huawei:harmonyos:5.1.0, and the vendor's own PSIRT (psirt@huawei.com) is the reporting party, with tagging indicating both buffer overflow and stack overflow characteristics.

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local-only device management flaw reachable by a low-privileged context (AV:L/PR:L), easily triggered (AC:L), affecting only availability via a crash (A:H, C:N/I:N).

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionNVD

Buffer overflow vulnerability in the device management module. Successful exploitation of this vulnerability may affect availability.

Threat Intelligence Overview

EPSS Score
0.1%
Top 100% exploitable
Prevalence
High
Huawei HarmonyOS ships on hundreds of millions of consumer devices
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Affected Products (CPE)NVD

cpe:2.3:o:huawei:harmonyos:5.0.1:*:*:*:*:*:*:*
cpe:2.3:o:huawei:harmonyos:5.1.0:*:*:*:*:*:*:*
CVE-2026-34865 CRITICAL
10.0 Apr 13

Out-of-bounds heap write in Huawei HarmonyOS WEB module allows unauthenticated remote attackers to execute arbitrary cod

CVE-2024-32991 CRITICAL
9.8 May 14

Permission verification vulnerability in the wpa_supplicant module Impact: Successful exploitation of this vulnerability

CVE-2023-46773 CRITICAL
9.8 Dec 06

Permission management vulnerability in the PMS module. Rated critical severity (CVSS 9.8), this vulnerability is remotel

CVE-2023-44116 CRITICAL
9.8 Oct 11

Vulnerability of access permissions not being strictly verified in the APPWidget module.Successful exploitation of this

CVE-2023-44105 CRITICAL
9.8 Oct 11

Vulnerability of permissions not being strictly verified in the window management module.Successful exploitation of this

CVE-2023-44106 CRITICAL
9.8 Oct 11

API permission management vulnerability in the Fwk-Display module.Successful exploitation of this vulnerability may caus

CVE-2023-41297 CRITICAL
9.8 Sep 25

Vulnerability of defects introduced in the design process in the HiviewTunner module. Rated critical severity (CVSS 9.8)

CVE-2023-41294 CRITICAL
9.8 Sep 25

The DP module has a service hijacking vulnerability.Successful exploitation of this vulnerability may affect some Super

CVE-2023-39405 CRITICAL
9.8 Aug 13

Vulnerability of out-of-bounds parameter read/write in the Wi-Fi module. Rated critical severity (CVSS 9.8), this vulner

CVE-2023-37242 CRITICAL
9.8 Jul 06

Vulnerability of commands from the modem being intercepted in the atcmdserver module. Rated critical severity (CVSS 9.8)

CVE-2022-46327 CRITICAL
9.8 Dec 20

Some smartphones have configuration issues. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab

CVE-2022-46326 CRITICAL
9.8 Dec 20

Some smartphones have the out-of-bounds write vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is r

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy