LiveActive security incident?Get immediate response
CVE Record

CVE-2021-40040: Vulnerability of writing data to an arbitrary address in the HW_KEYMASTER module.

Vulnerability of writing data to an arbitrary address in the HW_KEYMASTER module. Successful exploitation of this vulnerability may affect confidentiality.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-40040 affects Huawei/HarmonyOS-family mobile platforms. It is described as an arbitrary-address write in HW_KEYMASTER, a security-sensitive component tied to hardware-backed key handling. The stated impact is confidentiality loss. The source bundle shows no evidence of active exploitation.

Executive priority

Treat this as a high-priority mobile fleet hygiene issue, especially for executive, administrator, and regulated-data users. No active exploitation is evidenced here, but the low-complexity, no-interaction CVSS profile justifies prompt verification and patch tracking.

Technical view

The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, scoring 7.5 high. Affected versions listed are HarmonyOS 2.0, multiple EMUI 10.x/11.0.0 releases, and Magic UI 3.x/4.0.0. CWE, CPEs, fixed builds, and root-cause detail are not provided.

Likely exposure

Organizations with Huawei or Honor mobile fleets running the listed HarmonyOS, EMUI, or Magic UI versions may be exposed. Exposure is most relevant where devices handle sensitive credentials, enterprise apps, or regulated data.

Exploitation context

The source bundle does not identify known exploitation, proof-of-concept availability, or KEV listing. The CVSS vector indicates remote reachability without privileges or user interaction, but no offensive path is described in the provided sources.

Researcher notes

Public detail is sparse. The advisory names HW_KEYMASTER and arbitrary-address writes, but does not provide CWE, CPEs, fixed build identifiers, or exploit preconditions beyond CVSS. Avoid assuming broader Android or non-listed product impact.

Mitigation direction

  • Check Huawei and HarmonyOS security bulletins for device-specific remediation guidance.
  • Update affected devices to vendor-supported firmware or security patch levels where available.
  • Prioritize devices handling enterprise credentials, VPN access, or regulated data.
  • Remove unsupported affected devices from sensitive workflows if updates are unavailable.

Validation and detection

  • Inventory Huawei and Honor devices and record OS family and version.
  • Compare versions against the affected HarmonyOS, EMUI, and Magic UI ranges.
  • Check device security patch level against Huawei bulletin guidance.
  • Confirm managed devices are receiving updates through MDM or carrier channels.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-40040 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N3.93.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2021-40040Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/aHarmonyOS;EMUI;Magic UIHarmonyOS 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.0Listed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.