CVE-2025-58311 Use after free in EMUI

Medium 5.8 Published Updated

A use-after-free flaw in the USB driver allows attackers to compromise availability and confidentiality on Huawei devices.

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

What is CVE-2025-58311?

CVE-2025-58311 is a medium-severity use after free vulnerability in Huawei Emui, published on 28 Nov 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

UAF vulnerability in the USB driver module. Impact: Successful exploitation of this vulnerability will affect availability and confidentiality.

Weakness: CWE-416

Which versions are affected by CVE-2025-58311?

It affects 2 products.

Products include Huawei Emui, Huawei Harmonyos.

How do I fix CVE-2025-58311?

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

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

All Huawei Emui vulnerabilities

Sources

Also known as GHSA-64r8-mrv6-hj88.

Is CVE-2025-58311 in your software?

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

Check your SBOMs for free