CVE-2021-40040
highpriority · track · 30EPSS 0.006 · 47 %ileEUUSEPSS · scored 2026-10-28
Vulnerability of writing data to an arbitrary address in the HW_KEYMASTER module. Successful exploitation of this vulnerability may affect confidentiality.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (12)
Products and version ranges known to be affected.
- n/a HarmonyOS;EMUI;Magic UI≤ Magic UI 4.0.0,Magic UI 3.1.1,Magic UI 3.1.0,Magic UI 3.0.0enisa_euvdEU
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://consumer.huawei.com/en/support/bulletin/2022/8/cnnvd
- https://cxsecurity.com/cveshow/CVE-2021-40040/cnnvd
- https://device.harmonyos.com/cn/docs/security/update/security-bulletins-202209-0000001392078921cnnvd
- https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202209-0000001392278845cnnvd
- https://consumer.huawei.com/en/support/bulletin/2022/8/enisa_euvd
- https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202209-0000001392278845enisa_euvd
- https://consumer.huawei.com/en/support/bulletin/2022/8/Vendor Advisorynvd
- https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202209-0000001392278845Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan