Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-40040

published high CVSS 3.1 · 7.5

HarmonyOS;EMUI;Magic UI vulnerability

Published
09 Aug 2022, 20:11:21 UTC
Updated
06 Mar 2026, 17:36:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — HarmonyOS;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.0 Affected Not stated huawei

Description

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

en · huawei · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a HarmonyOS;EMUI;Magic UI HarmonyOS 2.0 (affected)EMUI 11.0.0,EMUI 10.1.1,EMUI 10.1.0,EMUI 10.0.0 (affected)Magic UI 4.0.0,Magic UI 3.1.1,Magic UI 3.1.0,Magic UI 3.0.0 (affected) huawei · cna

Weaknesses

2
  • Write data to arbitrary address vulnerability (huawei · cna)
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

2

Provider assertions

3

huawei · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
c668db7623ba63831f61c9dd96f024c59ef79f7f2e6e110bfe35e94c3256f708
Ingested
23 Sep 2026, 07:55:59 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected