What’s Vulnerable › Vulnerabilities
CVE-2021-40035
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-01-10 · updated 2026-06-17
- Weakness: CWE-120
Description
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.
Affected products
- Huawei EMUI: 10.0.0, 10.1.0, 10.1.1, 11.0.0, 11.0.1, 12.0.0
- Huawei HarmonyOS: before 2.0 — fixed in 2.0
- Huawei Magic UI: 3.0.0, 3.1.0, 3.1.1, 4.0.0
How to fix
Upgrade to a fixed version: Huawei HarmonyOS 2.0. Check the vendor advisory for mitigations.
References
- https://consumer.huawei.com/en/support/bulletin/2022/1/
- https://device.harmonyos.com/en/docs/security/update/security-bulletins-202201-0000001238736331
- https://consumer.huawei.com/en/support/bulletin/2022/1/
- https://device.harmonyos.com/en/docs/security/update/security-bulletins-202201-0000001238736331
Get alerted when CVE-2021-40035 or the next vulnerability affects your stack