# CVE-2021-39985: The HwNearbyMain module has a Improper Validation of Array Index vulnerability.Successful exploitation of this vulnerability may cause a pr…

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Published: 2022-01-03T21:07:36.000Z
- Modified: 2026-06-17T04:04:30.957Z
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: huawei

## Description

The HwNearbyMain module has a Improper Validation of Array Index vulnerability.Successful exploitation of this vulnerability may cause a process to restart.

(As written by CVE List.)

## Affected

- Huawei HarmonyOS: 2.0; before 2.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://device.harmonyos.com/en/docs/security/update/security-bulletins-202111-0000001217889667> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-39985](https://www.cve.org/CVERecord?id=CVE-2021-39985), CVE Terms of Use, modified 2025-05-22
- NVD: [CVE-2021-39985](https://nvd.nist.gov/vuln/detail/CVE-2021-39985), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-39985 · Whole record: https://cve.day/CVE-2021-39985.json · Rebuilt by cve.day 2026-11-25T22:58:06.384Z
