CVE-2025-20042 Liteos-A has an out of bounds read vulnerability

Medium 5.5 Published Updated

A local attacker can exploit an out-of-bounds read in OpenHarmony to 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-20042?

CVE-2025-20042 is a medium-severity vulnerability in Openatom Openharmony, published on 4 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

in OpenHarmony v5.0.2 and prior versions allow a local attacker cause information leak through out-of-bounds read.

Weakness: CWE-125

Which versions are affected by CVE-2025-20042?

It affects 1 product.

Products include Openatom Openharmony.

How do I fix CVE-2025-20042?

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

Is CVE-2025-20042 being exploited?

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

All Openatom Openharmony vulnerabilities

Sources

Also known as GHSA-gpf2-5797-w82f.

Is CVE-2025-20042 in your software?

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

Check your SBOMs for free