OpenHarmony v5.0.2-: Local UAF in Pre-Installed Apps => Code Exec
CVE-2025-20626 Published on March 4, 2025

Arkcompiler Ets Runtime has an UAF vulnerability
in OpenHarmony v5.0.2 and prior versions allow a local attacker arbitrary code execution in pre-installed apps through use after free. This vulnerability can be exploited only in restricted scenarios.

NVD

Vulnerability Analysis

CVE-2025-20626 is exploitable with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity and availability.

Attack Vector:
LOCAL
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
NONE
Scope:
CHANGED
Confidentiality Impact:
LOW
Integrity Impact:
NONE
Availability Impact:
NONE

Weakness Type

What is a Dangling pointer Vulnerability?

Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.

CVE-2025-20626 has been classified to as a Dangling pointer vulnerability or weakness.


Products Associated with CVE-2025-20626

stack.watch emails you whenever new vulnerabilities are published in Openatom Openharmony or OpenHarmony. Just hit a watch button to start following.

 
 

Affected Versions

OpenHarmony:

Exploit Probability

EPSS
0.11%
Percentile
29.40%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.