OpenHarmony 4.1.2 Local Priv Escalation & Info Leak via Buffer Overflow
CVE-2025-0303 Published on February 7, 2025
Liteos_a has a buffer overflow vulnerability
in OpenHarmony v4.1.2 and prior versions allow a local attacker cause the common permission is upgraded to root and sensitive information leak through buffer overflow.
Vulnerability Analysis
CVE-2025-0303 can be exploited 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 be very high.
Weakness Type
What is a Classic Buffer Overflow Vulnerability?
The program copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. A buffer overflow condition exists when a program attempts to put more data in a buffer than it can hold, or when a program attempts to put data in a memory area outside of the boundaries of a buffer. The simplest type of error, and the most common cause of buffer overflows, is the "classic" case in which the program copies the buffer without restricting how much is copied. Other variants exist, but the existence of a classic overflow strongly suggests that the programmer is not considering even the most basic of security protections.
CVE-2025-0303 has been classified to as a Classic Buffer Overflow vulnerability or weakness.
Products Associated with CVE-2025-0303
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:- Version v4.1.0, <= 4.1.2 is affected.
Exploit Probability
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.