CVE-2021-40048
CVE-2021-40048 is a high-severity vulnerability in Huawei Emui 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 Emui
- Published:
- Last modified:
Description
There is an incorrect buffer size calculation vulnerability in the video framework. Successful exploitation of this vulnerability will affect availability.
Frequently asked questions
- What is CVE-2021-40048?
- There is an incorrect buffer size calculation vulnerability in the video framework. Successful exploitation of this vulnerability will affect availability.
- How severe is CVE-2021-40048?
- CVE-2021-40048 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-40048 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-40048?
- CVE-2021-40048 primarily affects Huawei Emui. In total, 11 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-40048?
- 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-40048 published?
- CVE-2021-40048 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/cn/docs/security/update/security-bulletins-phones-202203-0000001257385193
Affected products (11)
- cpe:2.3:o:huawei:emui:10.0.0:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:emui:10.1.0:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:emui:10.1.1:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:emui:11.0.0:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:emui:11.0.1:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:emui:12.0.0:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:harmonyos:2.0:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:magic_ui:3.0.0:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:magic_ui:3.1.0:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:magic_ui:3.1.1:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:magic_ui:4.0.0:*:*:*:*:*:*:*
More vulnerabilities in Huawei Emui
- 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…
- CVE-2023-44116 — Critical (CVSS 9.8): Vulnerability of access permissions not being strictly verified in the APPWidget module.Successful exploitation of this…
All CVEs affecting Huawei Emui →
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 →