Vulnerability record · CVE-2021-3697 · published 6 July 2022
CVE-2021-3697: Gnu grub2 out-of-bounds write vulnerability
Gnu · Grub2
A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlled data to be written in heap. To a successful to be performed the attacker needs to perform some triage over the heap layout and craft an image with a malicious format and payload. This vulnerability can lead to data corruption and eventual code execution or secure boot circumvention. This flaw affects grub2 versions prior grub-2.12.
Description
A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlled data to be written in heap. To a successful to be performed the attacker needs to perform some triage over the heap layout and craft an image with a malicious format and payload. This vulnerability can lead to data corruption and eventual code execution or secure boot circumvention. This flaw affects grub2 versions prior grub-2.12.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
12 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1991687 | Issue TrackingThird Party Advisory |
| https://security.gentoo.org/glsa/202209-12 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20220930-0001/ | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=1991687 | Issue TrackingThird Party Advisory |
| https://security.gentoo.org/glsa/202209-12 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20220930-0001/ | Third Party Advisory |
Track CVE-2021-3697 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-3697), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.