CVE-2025-58287 Use after free in HarmonyOS

High 7.8 Published Updated

A use-after-free flaw in the HarmonyOS office service allows attackers to compromise service confidentiality.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-58287?

CVE-2025-58287 is a high-severity use after free vulnerability in Huawei Harmonyos, published on 11 Oct 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Use After Free (UAF) vulnerability in the office service. Successful exploitation of this vulnerability may affect service confidentiality.

Weakness: CWE-416, CWE-275

Which versions are affected by CVE-2025-58287?

It affects 1 product.

Products include Huawei Harmonyos.

How do I fix CVE-2025-58287?

No fix has been published for CVE-2025-58287 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-58287 being exploited?

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

All Huawei Harmonyos vulnerabilities

Sources

Also known as GHSA-x9jm-9gqg-5g65.

Is CVE-2025-58287 in your software?

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

Check your SBOMs for free