CVE-2025-54642 Memory corruption in EMUI
A buffer overflow in the kernel gyroscope module allows attackers to cause a denial of service on Huawei 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-54642?
CVE-2025-54642 is a medium-severity memory corruption vulnerability in Huawei Emui, published on 6 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Issue of buffer overflow caused by insufficient data verification in the kernel gyroscope module. Impact: Successful exploitation of this vulnerability may affect availability.
Which versions are affected by CVE-2025-54642?
It affects 2 products.
Products include Huawei Emui, Huawei Harmonyos.
How do I fix CVE-2025-54642?
No fix has been published for CVE-2025-54642 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-54642 being exploited?
There is no known exploitation of CVE-2025-54642 in the wild and no public exploit code.
Other vulnerabilities in Huawei Emui
Sources
Also known as GHSA-h396-6cwm-6rgc.