CVE-2025-58307 Use after free in HarmonyOS
A use-after-free flaw in the screen recording framework allows attackers to cause a denial of service on Huawei HarmonyOS devices.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-58307?
CVE-2025-58307 is a medium-severity use after free vulnerability in Huawei Harmonyos, published on 28 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
UAF vulnerability in the screen recording framework module. Impact: Successful exploitation of this vulnerability may affect availability.
Weakness: CWE-416
Which versions are affected by CVE-2025-58307?
It affects 1 product.
Products include Huawei Harmonyos.
How do I fix CVE-2025-58307?
No fix has been published for CVE-2025-58307 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-58307 being exploited?
There is no known exploitation of CVE-2025-58307 in the wild and no public exploit code.
Other vulnerabilities in Huawei Harmonyos
Sources
Also known as GHSA-r8j6-79wf-qwg4.