Vulnerability of writing data to an arbitrary address in the HW_KEYMASTER module.
Priority HIGH 66Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
Vulnerability of writing data to an arbitrary address in the HW_KEYMASTER module. Successful exploitation of this vulnerability may affect confidentiality.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0057 47th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | HarmonyOS;EMUI;Magic UI | HarmonyOS 2.0; EMUI 11.0.0,EMUI 10.1.1,EMUI 10.1.0,EMUI 10.0.0; Magic UI 4.0.0,Magic UI 3.1.1,Magic UI 3.1.0,Magic UI 3.0.0 | — | No fix listed | CNA |
- HarmonyOS;EMUI;Magic UI Vendor— Affected HarmonyOS 2.0; EMUI 11.0.0,EMUI 10.1.1,EMUI 10.1.0,EMUI 10.0.0; Magic UI 4.0.0,Magic UI 3.1.1,Magic UI 3.1.0,Magic UI 3.0.0 Fixed in — No fix listed CNA
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:huawei:emui:10.0.0:*:*:*:*:*:*:* | 10.0.0 | Vulnerable | Huawei |
| cpe:2.3:o:huawei:emui:10.1.0:*:*:*:*:*:*:* | 10.1.0 | Vulnerable | Huawei |
| cpe:2.3:o:huawei:emui:10.1.1:*:*:*:*:*:*:* | 10.1.1 | Vulnerable | Huawei |
| cpe:2.3:o:huawei:emui:11.0.0:*:*:*:*:*:*:* | 11.0.0 | Vulnerable | Huawei |
| cpe:2.3:o:huawei:harmonyos:2.0:*:*:*:*:*:*:* | 2.0 | Vulnerable | Huawei |
| cpe:2.3:o:huawei:magic_ui:3.0.0:*:*:*:*:*:*:* | 3.0.0 | Vulnerable | Huawei |
| cpe:2.3:o:huawei:magic_ui:3.1.0:*:*:*:*:*:*:* | 3.1.0 | Vulnerable | Huawei |
| cpe:2.3:o:huawei:magic_ui:3.1.1:*:*:*:*:*:*:* | 3.1.1 | Vulnerable | Huawei |
| cpe:2.3:o:huawei:magic_ui:4.0.0:*:*:*:*:*:*:* | 4.0.0 | Vulnerable | Huawei |
- cpe:2.3:o:huawei:emui:10.0.0:*:*:*:*:*:*:* Versions 10.0.0 Vulnerable ·Huawei
- cpe:2.3:o:huawei:emui:10.1.0:*:*:*:*:*:*:* Versions 10.1.0 Vulnerable ·Huawei
- cpe:2.3:o:huawei:emui:10.1.1:*:*:*:*:*:*:* Versions 10.1.1 Vulnerable ·Huawei
- cpe:2.3:o:huawei:emui:11.0.0:*:*:*:*:*:*:* Versions 11.0.0 Vulnerable ·Huawei
- cpe:2.3:o:huawei:harmonyos:2.0:*:*:*:*:*:*:* Versions 2.0 Vulnerable ·Huawei
- cpe:2.3:o:huawei:magic_ui:3.0.0:*:*:*:*:*:*:* Versions 3.0.0 Vulnerable ·Huawei
- cpe:2.3:o:huawei:magic_ui:3.1.0:*:*:*:*:*:*:* Versions 3.1.0 Vulnerable ·Huawei
- cpe:2.3:o:huawei:magic_ui:3.1.1:*:*:*:*:*:*:* Versions 3.1.1 Vulnerable ·Huawei
- cpe:2.3:o:huawei:magic_ui:4.0.0:*:*:*:*:*:*:* Versions 4.0.0 Vulnerable ·Huawei
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-40040
- 2026-10-03 Alias added: GHSA-86g3-53hw-mw23
References
More Huawei Emui vulnerabilities
- TI-2022-21903 Deserialization of untrusted data in Huawei HarmonyOS CVSS 3.1CRITICAL 9.8
- TI-2022-21900 Deserialization of untrusted data in Huawei HarmonyOS CVSS 3.1CRITICAL 9.8
- TI-2022-21899 Deserialization of untrusted data in Huawei HarmonyOS CVSS 3.1CRITICAL 9.8
- TI-2022-19984 Out-of-bounds read in Huawei HarmonyOS CVSS 3.1CRITICAL 9.8
- TI-2022-19982 Out-of-bounds write in Huawei HarmonyOS CVSS 3.1CRITICAL 9.8
- TI-2022-18401 Improper authentication in Huawei HarmonyOS CVSS 3.1CRITICAL 9.8
Sources
- CVE-2021-40040 · CVE Program
- CVE-2021-40040 · NVD
- FIRST EPSS
- GHSA-86g3-53hw-mw23 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences