7.5
Advisory Published
Updated

CVE-2021-40040

First published: Tue Aug 09 2022(Updated: )

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

Credit: psirt@huawei.com

Affected SoftwareAffected VersionHow to fix
Huawei EMUI=10.0.0
Huawei EMUI=10.1.0
Huawei EMUI=10.1.1
Huawei EMUI=11.0.0
Huawei HarmonyOS=2.0
Huawei Magic UI=3.0.0
Huawei Magic UI=3.1.0
Huawei Magic UI=3.1.1
Huawei Magic UI=4.0.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-40040?

    The severity of CVE-2021-40040 is classified as high due to its potential impact on data confidentiality.

  • How do I fix CVE-2021-40040?

    To fix CVE-2021-40040, you should apply the latest security updates provided by Huawei for the affected software versions.

  • What versions are affected by CVE-2021-40040?

    CVE-2021-40040 affects Huawei EMUI versions 10.0.0, 10.1.0, 10.1.1, 11.0.0, and Magic UI versions 3.0.0, 3.1.0, 3.1.1, 4.0.0, as well as HarmonyOS version 2.0.

  • What is the impact of exploiting CVE-2021-40040?

    Exploiting CVE-2021-40040 may allow unauthorized writing of data to arbitrary addresses, leading to a breach of confidentiality.

  • Who is affected by CVE-2021-40040?

    Users of affected Huawei devices running the specified versions of EMUI, HarmonyOS, and Magic UI are at risk from CVE-2021-40040.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203