Service interruption via gyroscope buffer overflow
Published Aug 6, 2025 · Updated Aug 6, 2025
Buffer overflow in Huawei HarmonyOS and EMUI allows local users to interrupt device service through malformed data in the kernel gyroscope module. The module insufficiently validates gyroscope data before processing it, causing the kernel buffer to overflow. Reaching the flaw requires local, highly privileged access on HarmonyOS 3.0.0, 3.1.0, and 4.0.0 or EMUI 13.0.0 and 14.0.0; Huawei reports only availability impact and does not identify whether failure is a crash, hang, or reboot.
Summary
What happened
Buffer overflow in Huawei HarmonyOS and EMUI allows local users to interrupt device service through malformed data in the kernel gyroscope module. The module insufficiently validates gyroscope data before processing it, causing the kernel buffer to overflow. Reaching the flaw requires local, highly privileged access on HarmonyOS 3.0.0, 3.1.0, and 4.0.0 or EMUI 13.0.0 and 14.0.0; Huawei reports only availability impact and does not identify whether failure is a crash, hang, or reboot.
The record
- CVE
- CVE-2025-54642
- Published
- Aug 6, 2025
- Updated
- Aug 6, 2025
- Vendor
- MindSpore
- Product
- HarmonyOS
- Classifications
- CWE-120, CWE-20, T1499
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Aug 6, 2025CVE publishedPublication date reported by the CVE source.
- Aug 6, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.0.0
- Affected versionversion=3.1.0
- Affected versionversion=4.0.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo