Skip to main content

Huawei HarmonyOS EUVDEUVD-2025-201688

| CVE-2025-66321 MEDIUM
Race Condition (CWE-362)
2025-12-08 psirt@huawei.com
4.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Install malicious low-privilege app on device
  2. Exploit
    Concurrently invoke camera framework APIs
  3. Execution
    Win multi-thread race window (CWE-362)
  4. Impact
    Crash camera service causing denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: 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 local presence on the device via an installed low-privilege application (AV:L, PR:L) that can invoke the HarmonyOS camera framework module and drive concurrent threads to trigger the CWE-362 multi-thread race condition. No user interaction is needed (UI:N), but the attack is strongly limited by high complexity (AC:H): the attacker must reliably win a narrow, timing-dependent race window that is not deterministically controllable. Impact is confined to availability (camera service denial of service) - there is no confidentiality or integrity consequence and no path to code execution or privilege escalation. There is no remote/network vector, so pre-positioned local code execution is a hard prerequisite.

Impact

All signals converge on low real-world priority. The CVSS 3.1 base score is only 4.7 (Medium), and the vector itself is constraining: AV:L requires local access, AC:H means the attacker must win a genuine timing window inherent to the CWE-362 race condition, PR:L requires an already-installed low-privilege app, and the impact is availability-only (C:N/I:N/A:H) - no code execution, no data exposure. EPSS is effectively floor-level at 0.01% (0th percentile), there is no CISA KEV listing, and no public exploit code has been identified, so exploitation status is 'no public exploit identified at time of analysis'. There are no conflicting exploitability signals - every source points the same direction. One metadata conflict should be noted explicitly: the input Tags include 'Information Disclosure', but the CVSS vector and Huawei's description both state availability-only impact (C:N/I:N) with no confidentiality consequence - the 'Information Disclosure' tag is not supported by the vulnerability data and should be disregarded. This is a high-complexity, local, availability-only defect - a genuine but low-priority patch-in-cycle item, not an urgent threat.

Exploit ScenarioDerived

A malicious or compromised low-privilege application already installed on a HarmonyOS device repeatedly exercises the camera framework while racing concurrent threads to hit the unsynchronized window. If the attacker wins the race, the camera service enters an inconsistent state and crashes, denying camera functionality to the user and other apps. No public exploit code exists, and success depends on reliably hitting a narrow timing window (AC:H).

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

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

Alert me

AnalysisAIv2 – Oct 07, 2026

A multi-thread race condition in the Huawei HarmonyOS camera framework module lets a locally installed low-privilege application drive concurrent calls into the camera service and win a narrow timing window, resulting in a denial of service that degrades camera availability on the affected device. Only HarmonyOS 5.0.1, 5.1.0, and 6.0.0 are affected; the issue carries a CVSS 3.1 base score of 4.7 (AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H), so confidentiality and integrity are untouched and there is no path to code execution or privilege escalation. There is no public exploit identified at time of analysis and the EPSS score is 0.01% (0th percentile), indicating negligible predicted exploitation activity; exploitation is constrained by the high-complexity, timing-dependent race and by the hard prerequisite that the attacker already execute code locally on the device.

Earlier versions of this analysis (1)
v1 Mar 15, 2026 - 17:54 CVSS 5.1

RemediationAI

Patch available per vendor advisory: Huawei documents fixes for this issue in its December 2025 HarmonyOS security bulletin at https://consumer.huawei.com/en/support/bulletin/2025/12/, so the primary action is to apply the latest HarmonyOS OTA update for the device model and confirm the build reaches or exceeds the fixed version listed for the specific device in that bulletin (no independently verified fix version number is provided in this dataset, so do not assume one). Because the vulnerable versions are 5.0.1, 5.1.0, and 6.0.0 and exploitation requires a pre-positioned local low-privilege app, interim compensating controls are meaningful: restrict camera permission grants so that only trusted, vetted applications can reach the camera framework (with the trade-off that legitimate third-party camera or video-call apps will lose functionality), uninstall or block sideloaded applications on managed or high-assurance devices (which may disrupt user workflows but removes the only realistic attack vector), and monitor for repeated camera service crashes or restarts as an indicator of attempted triggering (detection-only, adds no prevention). Note that these controls carry no risk of data loss or feature regression beyond camera access itself, and none of them introduce confidentiality or integrity side effects since the flaw is availability-only.

Affected VersionsENISA

HarmonyOS 5.0.1
HarmonyOS 6.0.0
HarmonyOS 5.1.0

Affected Packages

euvd harmonyos no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization, i.e., a race condition) inside the HarmonyOS camera framework module. The camera framework is the multi-threaded user-space layer that arbitrates access to camera hardware and streams (session management, capture requests, buffer/stream lifecycle handling), and it is routinely invoked concurrently by the system camera app, by third-party applications holding camera permissions, and by internal service threads. When two or more of these execution paths mutate the same shared camera state or resource without adequate locking or ordering, the losing interleaving can leave the module in an inconsistent state and fault the camera service. Because the defect is a synchronization error rather than a memory-safety bug, the assessed impact is limited to availability (camera service denial of service) - there is no evidence of an out-of-bounds write, use-after-free, or other primitive that would yield code execution or privilege escalation. The attack surface is local: CPE data identifies the affected platforms as Huawei HarmonyOS 5.0.1, 5.1.0, and 6.0.0, and per the assessed vector (AV:L, PR:L, UI:N) only an already-installed low-privilege app that can legitimately call camera framework interfaces can attempt the race, with AC:H reflecting that the attacker must reliably hit a nondeterministic, timing-dependent window.

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 4.7 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.7 MEDIUM

Local app access needed (AV:L, PR:L), winning the race window is timing-dependent and non-deterministic (AC:H), and only the camera service availability is affected (C:N/I:N/A:H).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:P/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
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Oct 07, 2026 - 20:22 NVD
5.1 (MEDIUM) 4.7 (MEDIUM)
CVE Published
Dec 08, 2025 - 08:15 nvd
MEDIUM 4.7
CVE Published
Dec 08, 2025 - 08:15 nvd
MEDIUM 5.1

DescriptionNVD

Multi-thread race condition vulnerability in the camera framework module. Impact: Successful exploitation of this vulnerability may affect availability.

Executive ViewAI

Why It Matters

CVE-2025-66321 presents moderate security risk, a race condition vulnerability rated CVSS 5.1. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement rate limiting and resource quotas.

Threat Intelligence Overview

EPSS Score
0.0%
Top 100% exploitable
Prevalence
High
Huawei HarmonyOS is a widely deployed mobile OS on hundreds of millions of devices
Data Quality
4 sources
Confidence: Medium

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.0%
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
Low

Priority Score

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

Attack Technique

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

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-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-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-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