# CVE-2021-39804: In reinit of HeifDecoderImpl.cpp, there is a possible crash due to a missing null check.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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.43%, higher than 28% of CVEs (2026-11-30)
- Published: 2022-04-12T16:11:47.000Z
- Modified: 2026-06-17T04:04:11.147Z
- Weaknesses: CWE-476
- Assigned by: google_android

## Description

In reinit of HeifDecoderImpl.cpp, there is a possible crash due to a missing null check. This could lead to remote persistent denial of service in the file picker with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-11 Android-12 Android-12LAndroid ID: A-215002587

(As written by CVE List.)

## Affected

- Android: Android-11 Android-12 Android-12L
- google android: 11.0; 12.0; 12.1

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://source.android.com/security/bulletin/2022-04-01> (patch, vendor-advisory)

## Sources

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

---

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