CVE-2025-0304 Liteos_a has an use after free vulnerability

High 8.8 Published Updated

A local attacker can exploit a use-after-free flaw in OpenHarmony to escalate privileges to root and leak sensitive information.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-0304?

CVE-2025-0304 is a high-severity use after free vulnerability in Openatom Openharmony, published on 7 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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 use after free.

Weakness: CWE-416

Which versions are affected by CVE-2025-0304?

It affects 1 product.

Products include Openatom Openharmony.

How do I fix CVE-2025-0304?

No fix has been published for CVE-2025-0304 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-0304 being exploited?

There is no known exploitation of CVE-2025-0304 in the wild and no public exploit code.

All Openatom Openharmony vulnerabilities

Sources

Also known as GHSA-qm6c-4p7w-jxrr.

Is CVE-2025-0304 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free