cve.bz

CVE-2021-3696 Out-of-bounds Write

4.5 mediumEPSS 0.5%

Medium (4.5). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3696 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3696?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3696?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3696 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:grub2from 2.00 before 2.12
redhat:developer_tools1.0
redhat:openshift3.0
redhat:enterprise_linux8.0
redhat:enterprise_linux8.1
redhat:enterprise_linux8.4
redhat:enterprise_linux9.0
redhat:enterprise_linux_eus8.2
redhat:enterprise_linux_eus8.4
redhat:enterprise_linux_eus8.6
redhat:enterprise_linux_eus9.0
redhat:enterprise_linux_for_power_little_endian8.0
redhat:enterprise_linux_for_power_little_endian9.0
redhat:enterprise_linux_for_power_little_endian_eus8.2
redhat:enterprise_linux_for_power_little_endian_eus8.4
redhat:enterprise_linux_for_power_little_endian_eus8.6
redhat:enterprise_linux_for_power_little_endian_eus9.0
redhat:enterprise_linux_server_aus8.2
redhat:enterprise_linux_server_aus8.4
redhat:enterprise_linux_server_aus8.6
redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.1
redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.2
redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.4
redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.6
redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions9.0
redhat:enterprise_linux_server_tus8.2
redhat:enterprise_linux_server_tus8.4
redhat:enterprise_linux_server_tus8.6
redhat:openshift_container_platform4.6
redhat:openshift_container_platform4.9
redhat:openshift_container_platform4.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14grub22.06-3DEBIAN-CVE-2021-3696
Ubuntu16.04:LTSgrub2-signed, grub2-unsignedno fix listedUBUNTU-CVE-2021-3696
Ubuntu18.04:LTSgrub2-signed1.187.3~18.04.1UBUNTU-CVE-2021-3696
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTSgrub2-unsigned2.06-2ubuntu14.1UBUNTU-CVE-2021-3696 USN-6355-1
Ubuntu20.04:LTSgrub2-signed1.187.3~20.04.1UBUNTU-CVE-2021-3696 USN-6355-1
Ubuntu20.04:LTSshim-signed1.40.9USN-6355-1
Ubuntu20.04:LTS, 22.04:LTSshim15.7-0ubuntu1USN-6355-1
Ubuntu22.04:LTSgrub2-signed1.187.3~22.04.1UBUNTU-CVE-2021-3696 USN-6355-1
Ubuntu22.04:LTSshim-signed1.51.3USN-6355-1
UbuntuPro:14.04:LTSgrub2-signedno fix listedUBUNTU-CVE-2021-3696
Red Hatenterprise_linux:8::baseosgrub2, grub2-pc, grub2-tools and 22 more1:2.02-123.el8_6.8RHSA-2022:5095
Red Hatenterprise_linux:8::baseosshim, shim-x64, shim-aa64 and 1 more0:15.6-1.el8RHSA-2022:5095
Red Hatenterprise_linux:8::crbshim-unsigned-x640:15.6-1.el8RHSA-2022:5095
Red Hatenterprise_linux:9::baseosgrub2, grub2-pc, grub2-tools and 20 more1:2.06-27.el9_0.7RHSA-2022:5099
Red Hatenterprise_linux:9::baseosshim, shim-x64, shim-aa640:15.6-1.el9RHSA-2022:5099
Red Hatenterprise_linux:9::crbshim-unsigned-x640:15.6-1.el9RHSA-2022:5099
Red Hatrhel_e4s:8.1::baseosgrub2, grub2-pc, grub2-tools and 20 more1:2.02-87.el8_1.10RHSA-2022:5098
Red Hatrhel_e4s:8.1::baseosshim, shim-x64, shim-ia320:15.6-1.el8RHSA-2022:5098
Red Hatrhel_eus:8.2::baseosgrub2, grub2-pc, grub2-tools and 22 more1:2.02-87.el8_2.10RHSA-2022:5100
Red Hatrhel_eus:8.2::baseosshim, shim-x64, shim-aa64 and 1 more0:15.6-1.el8RHSA-2022:5100
Red Hatrhel_eus:8.2::crbshim-unsigned-x640:15.6-1.el8RHSA-2022:5100
Red Hatrhel_eus:8.4::baseosgrub2, grub2-pc, grub2-tools and 22 more1:2.02-99.el8_4.9RHSA-2022:5096
2 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 moregrub22.02-150100.123.12.2SUSE-SU-2022:2041-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 6 moregrub22.04-150200.9.63.2SUSE-SU-2022:2074-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 moregrub22.02-137.2SUSE-SU-2022:2037-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moregrub22.02-150000.122.12.2SUSE-SU-2022:2036-1
SUSELinux Enterprise Micro 5.1grub22.04-150300.3.5.1SUSE-SU-2022:2073-1
SUSELinux Enterprise Micro 5.2, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Server Applications 15 SP3 and 1 moregrub22.04-150300.22.20.2SUSE-SU-2022:2064-1
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Server Applications 15 SP4, Manager Proxy Module 4.3grub22.06-150400.11.5.2SUSE-SU-2022:2035-1
SUSELinux Enterprise Server 12 SP2-BCLgrub22.02-115.67.2SUSE-SU-2022:2039-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 moregrub22.02-143.2SUSE-SU-2022:2038-1
openSUSELeap 15.3grub22.04-150300.22.20.2SUSE-SU-2022:2064-1
openSUSELeap 15.4grub22.06-150400.11.5.2SUSE-SU-2022:2035-1
openSUSETumbleweedgrub22.06-25.1openSUSE-SU-2024:12137-1
AlmaLinux8grub2-pc, grub2-tools, grub2-common and 14 more1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux8shim-x64, shim-aa64, shim-ia32 and 1 more15.6-1.el8.almaALSA-2022:5095
AlmaLinux9grub2-pc, grub2-tools, grub2-common and 12 more1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux9shim-x64, shim-aa64, shim-unsigned-x6415.6-1.el9.almaALSA-2022:5099
Rocky Linux8grub21:2.02-123.el8_6.8RLSA-2022:5095
Rocky Linux8mokutil1:0.3.0-11.el8_6.1RLSA-2022:5095
Rocky Linux8shim, shim-unsigned-x640:15.6-1.el8RLSA-2022:5095
Rocky Linux9mokutil2:0.4.0-8.el9_0.1RLSA-2022:5099
Rocky Linux9shim0:15.6-1.el9RLSA-2022:5099
Rocky Linux9shim0:15.6-1.el9.rocky.0.1RLSA-2022:5099
Azure Linux2grub22.06-12AZL-31035
Azure Linux3grub22.06-14AZL-34784

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability's impact on confidentiality, data integrity, and availability are considered low as a successful attack using this flaw is very complex.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8grub2-1:2.02-123.el8_6.8Fixed 2022-06-16RHSA-2022:5095
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsgrub2-1:2.02-87.el8_1.10Fixed 2022-06-16RHSA-2022:5098
Red Hat Enterprise Linux 8.2 Extended Update Supportgrub2-1:2.02-87.el8_2.10Fixed 2022-06-16RHSA-2022:5100
Red Hat Enterprise Linux 8.4 Extended Update Supportgrub2-1:2.02-99.el8_4.9Fixed 2022-06-16RHSA-2022:5096
Red Hat Enterprise Linux 9grub2-1:2.06-27.el9_0.7Fixed 2022-06-16RHSA-2022:5099
Red Hat Enterprise Linux 7grub2Out of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3696.

References

Check your stackJSON