CVE-2021-3695Gnu Grub2
Medium 4.5
Follow: this CVE · Gnu · Gnu Grub2 We alert you by email or Slack (account required).
- Priority
- 27
- CVSS 3.1
- 4.5
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 33
- Auth required
- Yes
- Published
- Jul 6, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
What happens
A crafted 16-bit grayscale PNG image may lead to a out-of-bounds write in the heap area. An attacker may take advantage of that to cause heap data corruption or eventually arbitrary code execution and circumvent secure boot protections. This issue has a high complexity to be exploited as an attacker needs to perform some triage over the heap layout to achieve signifcant results, also the values written into the memory are repeated three times in a row making difficult to produce valid payloads. This flaw affects grub2 versions prior grub-2.12.
What to do
- Apply the vendor's security update for Grub2.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gnu | grub2 | ≥ 2.00 < 2.12 |
| fedoraproject | fedora | 36 |
| redhat | developer_tools | 1.0 |
| redhat | openshift | 3.0 |
| redhat | enterprise_linux | 8.0 |
| redhat | enterprise_linux | 8.1 |
| redhat | enterprise_linux | 8.4 |
| redhat | enterprise_linux | 9.0 |
| redhat | enterprise_linux_eus | 8.2 |
| redhat | enterprise_linux_eus | 8.4 |
| redhat | enterprise_linux_eus | 8.6 |
| redhat | enterprise_linux_eus | 9.0 |
| redhat | enterprise_linux_for_power_little_endian | 8.0 |
| redhat | enterprise_linux_for_power_little_endian | 9.0 |
| redhat | enterprise_linux_for_power_little_endian_eus | 8.2 |
| redhat | enterprise_linux_for_power_little_endian_eus | 8.4 |
| redhat | enterprise_linux_for_power_little_endian_eus | 8.6 |
| redhat | enterprise_linux_for_power_little_endian_eus | 9.0 |
| redhat | enterprise_linux_server_aus | 8.2 |
| redhat | enterprise_linux_server_aus | 8.4 |
| redhat | enterprise_linux_server_aus | 8.6 |
| redhat | enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 8.1 |
| redhat | enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 8.2 |
| redhat | enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 8.4 |
| redhat | enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 8.6 |
| redhat | enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 9.0 |
| redhat | enterprise_linux_server_tus | 8.2 |
| redhat | enterprise_linux_server_tus | 8.4 |
| redhat | enterprise_linux_server_tus | 8.6 |
| redhat | openshift_container_platform | 4.6 |
| redhat | openshift_container_platform | 4.9 |
| redhat | openshift_container_platform | 4.10 |
| redhat | codeready_linux_builder | all |
| netapp | ontap_select_deploy_administration_utility | all |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory