CVE-2025-58297 Memory corruption in HarmonyOS
A buffer overflow in the HarmonyOS sensor service allows attackers to cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-58297?
CVE-2025-58297 is a medium-severity memory corruption vulnerability in Huawei Harmonyos, published on 11 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Buffer overflow vulnerability in the sensor service. Successful exploitation of this vulnerability may affect availability.
Weakness: CWE-121
Which versions are affected by CVE-2025-58297?
It affects 1 product.
Products include Huawei Harmonyos.
How do I fix CVE-2025-58297?
No fix has been published for CVE-2025-58297 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-58297 being exploited?
There is no known exploitation of CVE-2025-58297 in the wild and no public exploit code.
Other vulnerabilities in Huawei Harmonyos
Sources
Also known as GHSA-29g3-2vmh-rhvh.