7.5
CWE
119 120
Advisory Published
Updated

CVE-2021-40029: Buffer Overflow

First published: Fri Jan 07 2022(Updated: )

There is a Buffer overflow vulnerability due to a boundary error with the Samba server in the file management module in smartphones. Successful exploitation of this vulnerability may affect function stability.

Credit: psirt@huawei.com

Affected SoftwareAffected VersionHow to fix
HarmonyOS<2.0
EMUI 5.0=10.0.0
EMUI 5.0=10.1.0
EMUI 5.0=10.1.1
EMUI 5.0=11.0.0
EMUI 5.0=11.0.1
EMUI 5.0=12.0.0
Magic UI=3.0.0
Magic UI=3.1.0
Magic UI=3.1.1
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-40029?

    The severity of CVE-2021-40029 is high due to its potential to cause stability issues in affected devices.

  • How do I fix CVE-2021-40029?

    To fix CVE-2021-40029, update your device to the latest firmware version provided by Huawei.

  • What systems are affected by CVE-2021-40029?

    CVE-2021-40029 affects various Huawei devices running HarmonyOS or EMUI versions 10.0.0 to 12.0.0, and Magic UI versions 3.0.0 to 4.0.0.

  • What is a buffer overflow vulnerability in relation to CVE-2021-40029?

    A buffer overflow vulnerability, like CVE-2021-40029, occurs when data exceeds a buffer's storage capacity, potentially leading to code execution or crashes.

  • Can CVE-2021-40029 be exploited remotely?

    Yes, CVE-2021-40029 can be exploited remotely if an attacker can interact with the Samba server on an affected device.

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