7.8
CWE
119 787
Advisory Published
Updated

CVE-2021-40058: Buffer Overflow

First published: Mon Mar 07 2022(Updated: )

There is a heap-based buffer overflow vulnerability in the video framework. Successful exploitation of this vulnerability may affect availability.

Credit: psirt@huawei.com

Affected SoftwareAffected VersionHow to fix
Huawei EMUI=10.1.0
Huawei EMUI=10.1.1
Huawei Magic UI=3.1.0
Huawei Magic UI=3.1.1

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-40058?

    CVE-2021-40058 has a high severity rating due to the potential for heap-based buffer overflow leading to a denial of service.

  • How do I fix CVE-2021-40058?

    To fix CVE-2021-40058, users should update their devices to the latest software versions provided by Huawei.

  • What software versions are affected by CVE-2021-40058?

    CVE-2021-40058 affects Huawei EMUI versions 10.1.0 and 10.1.1, as well as Magic UI versions 3.1.0 and 3.1.1.

  • What types of attacks can exploit CVE-2021-40058?

    Exploitation of CVE-2021-40058 can lead to denial of service attacks, impacting device availability.

  • Is there a work-around for CVE-2021-40058?

    Currently, the most effective resolution for CVE-2021-40058 is to apply the latest patches or updates from Huawei.

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