Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-10074 Overview
CVE-2024-10074 is a use-after-free vulnerability in OpenHarmony v4.1.1 and prior versions. The flaw allows a local attacker with low privileges to escalate from a standard user to root. The vulnerability is tracked under CWE-416: Use After Free and affects the OpenAtom OpenHarmony operating system distribution.
Critical Impact
A local attacker holding standard permissions can escalate to root, gaining full control over the affected OpenHarmony device.
Affected Products
- OpenAtom OpenHarmony v4.1.1
- OpenAtom OpenHarmony prior releases
- Devices and embedded systems built on vulnerable OpenHarmony versions
Discovery Timeline
- 2024-12-03 - CVE-2024-10074 published to the National Vulnerability Database
- 2024-12 - OpenHarmony security disclosure released by the OpenAtom Foundation
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-10074
Vulnerability Analysis
The vulnerability is a use-after-free condition in OpenHarmony. Use-after-free bugs occur when a program continues to reference memory after it has been released back to the allocator. An attacker who can influence the allocation and reclamation of that memory region can place controlled data in the freed slot. When the dangling pointer is dereferenced, the program operates on attacker-controlled data.
In this case, the condition is reachable from an unprivileged local context. Successful exploitation elevates the attacker from a common permission level to root. Because OpenHarmony targets mobile, IoT, and embedded devices, a root escalation effectively breaks the device's application sandbox and permission model.
Root Cause
The root cause is improper lifetime management of a heap object within the OpenHarmony code base. The affected component releases a memory region while another execution path still retains a reference to it. The specific component and function are described in the OpenHarmony Security Disclosure 2024.
Attack Vector
Exploitation requires local access and low privileges on the device. No user interaction is required. An attacker typically delivers the exploit through a malicious application installed on the device or through code executing within a compromised low-privilege process. After triggering the free-then-reuse sequence, the attacker gains code execution with root privileges.
No public proof-of-concept or exploit code is listed in the enriched data for this CVE. See the vendor advisory for technical details.
Detection Methods for CVE-2024-10074
Indicators of Compromise
- Unexpected processes running with uid=0 that were spawned from non-system application contexts.
- Application crashes or kernel log entries referencing use-after-free, double-free, or SLUB/SLAB corruption on OpenHarmony devices.
- Installation of unsigned or sideloaded HAP packages on devices that normally receive software only through managed channels.
Detection Strategies
- Monitor OpenHarmony hilog output for abnormal termination of system services and signs of memory corruption.
- Baseline the set of processes that legitimately execute as root and alert on deviations.
- Review installed applications for recently added or unknown packages that request broad capabilities.
Monitoring Recommendations
- Centralize device logs for OpenHarmony fleets and retain kernel and service crash traces for correlation.
- Track OEM firmware and OpenHarmony version inventory to identify devices still running v4.1.1 or earlier.
- Alert on privilege transitions where a non-system application parent spawns a root-owned child process.
How to Mitigate CVE-2024-10074
Immediate Actions Required
- Identify all OpenHarmony devices running v4.1.1 or earlier and prioritize them for firmware updates.
- Restrict installation of third-party or sideloaded applications on affected devices until patches are applied.
- Review and remove untrusted applications already present on vulnerable devices.
Patch Information
OpenAtom has published fix information in the OpenHarmony Security Disclosure 2024. Upgrade affected devices to a release that includes the fix for CVE-2024-10074. Device manufacturers that ship OpenHarmony-based firmware should integrate the upstream patch and distribute an over-the-air update to end users.
Workarounds
- Enforce application allow-listing so only vetted and signed applications can run on managed OpenHarmony devices.
- Disable developer mode and ADB-equivalent debug interfaces on production devices to limit local attacker footholds.
- Segment OpenHarmony IoT devices onto isolated network zones to limit lateral movement if a device is compromised.
# Check OpenHarmony version on an affected device
param get const.ohos.version.release
param get const.ohos.fullname
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

