# CVE-2020-27749: 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): 0.60%, higher than 49% of CVEs (2026-12-01)
- Published: 2021-03-03T16:40:30.000Z
- Modified: 2026-06-17T03:09:34.223Z
- Weaknesses: CWE-121, CWE-787
- Assigned by: redhat

## Description

A flaw was found in grub2 in versions prior to 2.06. Variable names present are expanded in the supplied command line into their corresponding variable contents, using a 1kB stack buffer for temporary storage, without sufficient bounds checking. If the function is called with a command line that references a variable with a sufficiently large payload, it is possible to overflow the stack buffer, corrupt the stack frame and control execution which could also circumvent Secure Boot protections. 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=1899966> (issue-tracking, patch, 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-2020-27749](https://www.cve.org/CVERecord?id=CVE-2020-27749), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-27749](https://nvd.nist.gov/vuln/detail/CVE-2020-27749), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-27749 · Whole record: https://cve.day/CVE-2020-27749.json · Rebuilt by cve.day 2026-11-25T22:57:57.523Z
