# CVE-2021-3696: A heap out-of-bounds write may heppen during the handling of Huffman tables in the PNG reader.

- Severity: Medium 4.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2022-07-06T15:06:43.000Z
- Modified: 2026-06-17T04:05:34.790Z
- Weaknesses: CWE-787
- Assigned by: redhat

## Description

A heap out-of-bounds write may heppen during the handling of Huffman tables in the PNG reader. This may lead to data corruption in the heap space. Confidentiality, Integrity and Availablity impact may be considered Low as it's very complex to an attacker control the encoding and positioning of corrupted Huffman entries to achieve results such as arbitrary code execution and/or secure boot circumvention. This flaw affects grub2 versions prior grub-2.12.

(As written by CVE List.)

## Affected

- grub2: grub-2.06
- gnu grub2: from 2.00 before 2.12
- redhat developer_tools: 1.0
- redhat openshift: 3.0
- redhat enterprise_linux: 8.0; 8.1; 8.4; 9.0
- redhat enterprise_linux_eus: 8.2; 8.4; 8.6; 9.0
- redhat enterprise_linux_for_power_little_endian: 8.0; 9.0
- redhat enterprise_linux_for_power_little_endian_eus: 8.2; 8.4; 8.6; 9.0
- redhat enterprise_linux_server_aus: 8.2; 8.4; 8.6
- redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions: 8.1; 8.2; 8.4; 8.6; 9.0
- redhat enterprise_linux_server_tus: 8.2; 8.4; 8.6
- redhat openshift_container_platform: 4.6; 4.9; 4.10
- redhat codeready_linux_builder: no versions given
- netapp ontap_select_deploy_administration_utility: no versions given

## Every score

- NVD: CVSS:3.1 4.5 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1991686> (issue-tracking, third-party-advisory)
- <https://security.gentoo.org/glsa/202209-12> (third-party-advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20220930-0001/> (third-party-advisory)

## Sources

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

---

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