CVE-2021-40052
CVE-2021-40052 is a high-severity vulnerability in Huawei Harmonyos with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-131.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 7.8
- EPSS exploit prediction: 1% (51st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-131
- Affected product: Huawei Harmonyos
- Published:
- Last modified:
Description
There is an incorrect buffer size calculation vulnerability in the video framework.Successful exploitation of this vulnerability may affect availability.
Frequently asked questions
- What is CVE-2021-40052?
- There is an incorrect buffer size calculation vulnerability in the video framework.Successful exploitation of this vulnerability may affect availability.
- How severe is CVE-2021-40052?
- CVE-2021-40052 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2021-40052 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (51st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-40052?
- CVE-2021-40052 primarily affects Huawei Harmonyos. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-40052?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-40052 published?
- CVE-2021-40052 was published on 2022-03-10 and last updated on 2026-06-17.
References
- https://consumer.huawei.com/en/support/bulletin/2022/3/
- https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202208-0000001363876177
Affected products (4)
- cpe:2.3:o:huawei:harmonyos:2.0:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:emui:11.0.0:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:emui:11.0.1:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:magic_ui:4.0.0:*:*:*:*:*:*:*
More vulnerabilities in Huawei Harmonyos
- CVE-2023-34157 — Critical (CVSS 10.0): Vulnerability of HwWatchHealth being hijacked.Successful exploitation of this vulnerability may cause repeated pop-up…
- CVE-2023-52381 — Critical (CVSS 9.8): Script injection vulnerability in the email module.Successful exploitation of this vulnerability may affect service…
- CVE-2023-52378 — Critical (CVSS 9.8): Vulnerability of incorrect service logic in the WindowManagerServices module.Successful exploitation of this…
- CVE-2023-52370 — Critical (CVSS 9.8): Stack overflow vulnerability in the network acceleration module.Successful exploitation of this vulnerability may cause…
- CVE-2023-52103 — Critical (CVSS 9.8): Buffer overflow vulnerability in the FLP module. Successful exploitation of this vulnerability may cause out-of-bounds…
- CVE-2023-46773 — Critical (CVSS 9.8): Permission management vulnerability in the PMS module. Successful exploitation of this vulnerability may cause…
All CVEs affecting Huawei Harmonyos →
Other CWE-131 (Incorrect Calculation of Buffer Size) vulnerabilities
- CVE-2026-52955 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: libceph: Fix potential out-of-bounds access in…
- CVE-2026-41676 — Critical (CVSS 9.8): rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.27 to before 0.10.78,…
- CVE-2026-1949 — Critical (CVSS 9.8): Delta Electronics AS320T has incorrect calculation of the buffer size on the stack in the GET/PUT request handler of…
- CVE-2026-20911 — Critical (CVSS 9.8): A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality of LibRaw Commit 0b56545 and…
- CVE-2025-1861 — Critical (CVSS 9.8): In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when…
- CVE-2023-5941 — Critical (CVSS 9.8): In versions of FreeBSD 12.4-RELEASE prior to 12.4-RELEASE-p7 and FreeBSD 13.2-RELEASE prior to 13.2-RELEASE-p5 the…
Browse all CWE-131 (Incorrect Calculation of Buffer Size) vulnerabilities →