# CVE-2021-20225: A flaw was found in grub2 in versions prior to 2.06.

- Severity: Medium 6.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/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): 1.02%, higher than 64% of CVEs (2026-12-01)
- Published: 2021-03-03T16:44:26.000Z
- Modified: 2026-06-17T03:33:30.117Z
- Weaknesses: CWE-787
- Assigned by: redhat

## Description

A flaw was found in grub2 in versions prior to 2.06. The option parser allows an attacker to write past the end of a heap-allocated buffer by calling certain commands with a large number of specific short forms of options. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

(As written by CVE List.)

## Affected

- grub2: grub 2.06
- gnu grub2: before 2.06
- redhat enterprise_linux: 7.0; 8.0
- redhat enterprise_linux_server_aus: 7.2; 7.3; 7.4; 7.6; 7.7; 8.2
- redhat enterprise_linux_server_eus: 7.6; 7.7; 8.1
- redhat enterprise_linux_server_tus: 7.4; 7.6; 7.7; 8.2
- redhat enterprise_linux_workstation: 7.0
- fedoraproject fedora: 33; 34
- netapp ontap_select_deploy_administration_utility: no versions given

## Every score

- NVD: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1924696> (issue-tracking, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZWZ36QK4IKU6MWDWNOOWKPH3WXZBHT2R/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202104-05> (third-party-advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20220325-0001/> (third-party-advisory)

## Sources

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

---

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