CVE-2020-27749
publishedgrub2: Stack buffer overflow in grub_parser_split_cmdline()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | grub2grub 2.06 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1684 | Fixed | Not stated | Amazon Linux assessment |
| Debian | buster | grub2 | Advisory build | 2.02+dfsg1-20+deb10u4 | DSA-4867-1 |
| Oracle Linux | 7 | grub2aarch64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64 | Advisory build | 1:2.02-0.86.el7_6.3 | RHSA-2021:0701 |
| SUSE / openSUSE | SLE-12-SP2 | grub2ppc64le | Advisory build | 2.02-115.59.1 | SUSE-SU-2021:0679-1 |
| AlmaLinux | 8 | shim-aa64 | Advisory build | 15.4-2.el8_1.alma | ALSA-2021:1734 |
| Alpine Linux | edge | grub | Fixed | 2.06-r0 | Package fix record |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | grub2aarch64 | Advisory build | 1:2.02-0.87.0.8.el7_9.2 | ELSA-2021-0699 |
| Oracle Linux | 7 | grub2x86_64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Oracle Linux | 7 | grub2x86_64 | Advisory build | 1:2.02-0.87.0.7.el7_9.2 | ELSA-2021-0699 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64 | Advisory build | 1:2.02-0.86.el7_7.3 | RHSA-2021:0700 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64 | Advisory build | 1:2.02-0.87.el7_9.2 | RHSA-2021:0699 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64le | Advisory build | 1:2.02-0.86.el7_4.2 | RHSA-2021:0702 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64le | Advisory build | 1:2.02-0.86.el7_6.3 | RHSA-2021:0701 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64le | Advisory build | 1:2.02-0.86.el7_7.3 | RHSA-2021:0700 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64le | Advisory build | 1:2.02-0.87.el7_9.2 | RHSA-2021:0699 |
| Red Hat Enterprise Linux | RHEL-7 | grub2src | Advisory build | 1:2.02-0.86.el7_2.2 | RHSA-2021:0704 |
| Red Hat Enterprise Linux | RHEL-7 | grub2src | Advisory build | 1:2.02-0.86.el7_3.2 | RHSA-2021:0703 |
| Red Hat Enterprise Linux | RHEL-7 | grub2src | Advisory build | 1:2.02-0.86.el7_4.2 | RHSA-2021:0702 |
| Red Hat Enterprise Linux | RHEL-7 | grub2src | Advisory build | 1:2.02-0.86.el7_6.3 | RHSA-2021:0701 |
| Red Hat Enterprise Linux | RHEL-7 | grub2src | Advisory build | 1:2.02-0.86.el7_7.3 | RHSA-2021:0700 |
| Red Hat Enterprise Linux | RHEL-7 | grub2src | Advisory build | 1:2.02-0.87.el7_9.2 | RHSA-2021:0699 |
| Red Hat Enterprise Linux | RHEL-7 | grub2x86_64 | Advisory build | 1:2.02-0.86.el7_2.2 | RHSA-2021:0704 |
| Red Hat Enterprise Linux | RHEL-7 | grub2x86_64 | Advisory build | 1:2.02-0.86.el7_3.2 | RHSA-2021:0703 |
| Red Hat Enterprise Linux | RHEL-7 | grub2x86_64 | Advisory build | 1:2.02-0.86.el7_4.2 | RHSA-2021:0702 |
| Red Hat Enterprise Linux | RHEL-7 | grub2x86_64 | Advisory build | 1:2.02-0.86.el7_6.3 | RHSA-2021:0701 |
| Red Hat Enterprise Linux | RHEL-7 | grub2x86_64 | Advisory build | 1:2.02-0.86.el7_7.3 | RHSA-2021:0700 |
| Red Hat Enterprise Linux | RHEL-7 | grub2x86_64 | Advisory build | 1:2.02-0.87.el7_9.2 | RHSA-2021:0699 |
| Red Hat Enterprise Linux | RHEL-8 | grub2src | Advisory build | 1:2.02-87.el8_1.2 | RHSA-2021:0698 |
| Red Hat Enterprise Linux | RHEL-8 | grub2src | Advisory build | 1:2.02-87.el8_2.3 | RHSA-2021:0697 |
| Red Hat Enterprise Linux | RHEL-8 | grub2src | Advisory build | 1:2.02-90.el8_3.1 | RHSA-2021:0696 |
| SUSE / openSUSE | SLE-12-SP2 | grub2s390x | Advisory build | 2.02-115.59.1 | SUSE-SU-2021:0679-1 |
| SUSE / openSUSE | SLE-12-SP2 | grub2x86_64 | Advisory build | 2.02-115.59.1 | SUSE-SU-2021:0679-1 |
| SUSE / openSUSE | SLE-12-SP3 | grub2aarch64 | Advisory build | 2.02-4.69.1 | SUSE-SU-2021:0682-1 |
| SUSE / openSUSE | SLE-12-SP3 | grub2ppc64le | Advisory build | 2.02-4.69.1 | SUSE-SU-2021:0682-1 |
| SUSE / openSUSE | SLE-12-SP3 | grub2s390x | Advisory build | 2.02-4.69.1 | SUSE-SU-2021:0682-1 |
| SUSE / openSUSE | SLE-12-SP3 | grub2x86_64 | Advisory build | 2.02-4.69.1 | SUSE-SU-2021:0682-1 |
| SUSE / openSUSE | SLE-12-SP4 | grub2aarch64 | Advisory build | 2.02-12.47.1 | SUSE-SU-2021:0681-1 |
| SUSE / openSUSE | SLE-12-SP4 | grub2ppc64le | Advisory build | 2.02-12.47.1 | SUSE-SU-2021:0681-1 |
| SUSE / openSUSE | SLE-12-SP4 | grub2s390x | Advisory build | 2.02-12.47.1 | SUSE-SU-2021:0681-1 |
| SUSE / openSUSE | SLE-12-SP4 | grub2x86_64 | Advisory build | 2.02-12.47.1 | SUSE-SU-2021:0681-1 |
| SUSE / openSUSE | SLE-12-SP5 | grub2aarch64 | Advisory build | 2.02-12.47.1 | SUSE-SU-2021:0681-1 |
| SUSE / openSUSE | SLE-12-SP5 | grub2ppc64le | Advisory build | 2.02-12.47.1 | SUSE-SU-2021:0681-1 |
| SUSE / openSUSE | SLE-12-SP5 | grub2s390x | Advisory build | 2.02-12.47.1 | SUSE-SU-2021:0681-1 |
| SUSE / openSUSE | SLE-12-SP5 | grub2x86_64 | Advisory build | 2.02-12.47.1 | SUSE-SU-2021:0681-1 |
| SUSE / openSUSE | SLE-15 | grub2aarch64 | Advisory build | 2.02-19.66.1 | SUSE-SU-2021:0685-1 |
| SUSE / openSUSE | SLE-15 | grub2ppc64le | Advisory build | 2.02-19.66.1 | SUSE-SU-2021:0685-1 |
| SUSE / openSUSE | SLE-15 | grub2s390x | Advisory build | 2.02-19.66.1 | SUSE-SU-2021:0685-1 |
| SUSE / openSUSE | SLE-15 | grub2x86_64 | Advisory build | 2.02-19.66.1 | SUSE-SU-2021:0685-1 |
| SUSE / openSUSE | SLE-15-SP1 | grub2aarch64 | Advisory build | 2.02-26.43.1 | SUSE-SU-2021:0684-1 |
| SUSE / openSUSE | SLE-15-SP1 | grub2ppc64le | Advisory build | 2.02-26.43.1 | SUSE-SU-2021:0684-1 |
| SUSE / openSUSE | SLE-15-SP1 | grub2s390x | Advisory build | 2.02-26.43.1 | SUSE-SU-2021:0684-1 |
| SUSE / openSUSE | SLE-15-SP1 | grub2x86_64 | Advisory build | 2.02-26.43.1 | SUSE-SU-2021:0684-1 |
| SUSE / openSUSE | SLE-15-SP2 | grub2aarch64 | Advisory build | 2.04-9.34.1 | SUSE-SU-2021:0683-1 |
| SUSE / openSUSE | SLE-15-SP2 | grub2ppc64le | Advisory build | 2.04-9.34.1 | SUSE-SU-2021:0683-1 |
| SUSE / openSUSE | SLE-15-SP2 | grub2s390x | Advisory build | 2.04-9.34.1 | SUSE-SU-2021:0683-1 |
| SUSE / openSUSE | SLE-15-SP2 | grub2x86_64 | Advisory build | 2.04-9.34.1 | SUSE-SU-2021:0683-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | grub2i586 | Advisory build | 2.04-lp152.7.22.7 | OPENSUSE-SU-2021:0462-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | grub2x86_64 | Advisory build | 2.04-lp152.7.22.7 | OPENSUSE-SU-2021:0462-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grub2aarch64 | Advisory build | 2.06-7.1 | OPENSUSE-SU-2024:10824-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grub2ppc64le | Advisory build | 2.06-7.1 | OPENSUSE-SU-2024:10824-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grub2s390x | Advisory build | 2.06-7.1 | OPENSUSE-SU-2024:10824-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grub2x86_64 | Advisory build | 2.06-7.1 | OPENSUSE-SU-2024:10824-1 |
| AlmaLinux | 8 | shim-ia32 | Advisory build | 15.4-2.el8_1.alma | ALSA-2021:1734 |
| AlmaLinux | 8 | shim-unsigned-aarch64 | Advisory build | 15-7.el8_1.alma | ALSA-2021:1734 |
| AlmaLinux | 8 | shim-unsigned-x64 | Advisory build | 15.4-4.el8_1.alma | ALSA-2021:1734 |
| AlmaLinux | 8 | shim-x64 | Advisory build | 15.4-2.el8_1.alma | ALSA-2021:1734 |
| Alpine Linux | v3.17 | grub | Fixed | 2.06-r0 | Package fix record |
| Alpine Linux | v3.18 | grub | Fixed | 2.06-r0 | Package fix record |
| Alpine Linux | v3.19 | grub | Fixed | 2.06-r0 | Package fix record |
| Alpine Linux | v3.20 | grub | Fixed | 2.06-r0 | Package fix record |
| Alpine Linux | v3.21 | grub | Fixed | 2.06-r0 | Package fix record |
| Alpine Linux | v3.22 | grub | Fixed | 2.06-r0 | Package fix record |
| Alpine Linux | v3.23 | grub | Fixed | 2.06-r0 | Package fix record |
| Alpine Linux | v3.24 | grub | Fixed | 2.06-r0 | Package fix record |
| Oracle Linux | 7 | grub2-commonaarch64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Oracle Linux | 7 | grub2-commonx86_64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Oracle Linux | 7 | grub2-commonx86_64 | Advisory build | 1:2.02-0.87.0.7.el7_9.2 | ELSA-2021-0699 |
| Oracle Linux | 7 | grub2-efi-aa64aarch64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Oracle Linux | 7 | grub2-efi-aa64aarch64 | Advisory build | 1:2.02-0.87.0.8.el7_9.2 | ELSA-2021-0699 |
| Oracle Linux | 7 | grub2-efi-aa64-cdbootaarch64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Oracle Linux | 7 | grub2-efi-aa64-cdbootaarch64 | Advisory build | 1:2.02-0.87.0.8.el7_9.2 | ELSA-2021-0699 |
| Oracle Linux | 7 | grub2-efi-ia32x86_64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Oracle Linux | 7 | grub2-efi-ia32x86_64 | Advisory build | 1:2.02-0.87.0.7.el7_9.2 | ELSA-2021-0699 |
| Oracle Linux | 7 | grub2-efi-ia32-cdbootx86_64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Oracle Linux | 7 | grub2-efi-ia32-cdbootx86_64 | Advisory build | 1:2.02-0.87.0.7.el7_9.2 | ELSA-2021-0699 |
| Oracle Linux | 7 | grub2-efi-ia32-modulesx86_64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Oracle Linux | 7 | grub2-efi-ia32-modulesx86_64 | Advisory build | 1:2.02-0.87.0.7.el7_9.2 | ELSA-2021-0699 |
| Oracle Linux | 7 | grub2-efi-x64x86_64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Oracle Linux | 7 | grub2-efi-x64x86_64 | Advisory build | 1:2.02-0.87.0.7.el7_9.2 | ELSA-2021-0699 |
| Oracle Linux | 7 | grub2-efi-x64-cdbootx86_64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Oracle Linux | 7 | grub2-efi-x64-cdbootx86_64 | Advisory build | 1:2.02-0.87.0.7.el7_9.2 | ELSA-2021-0699 |
| Oracle Linux | 7 | grub2-efi-x64-modulesx86_64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Oracle Linux | 7 | grub2-efi-x64-modulesx86_64 | Advisory build | 1:2.02-0.87.0.7.el7_9.2 | ELSA-2021-0699 |
| Oracle Linux | 7 | grub2-pcx86_64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Oracle Linux | 7 | grub2-pcx86_64 | Advisory build | 1:2.02-0.87.0.7.el7_9.2 | ELSA-2021-0699 |
| Oracle Linux | 7 | grub2-pc-modulesx86_64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Oracle Linux | 7 | grub2-pc-modulesx86_64 | Advisory build | 1:2.02-0.87.0.7.el7_9.2 | ELSA-2021-0699 |
| Oracle Linux | 7 | grub2-toolsaarch64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
| Oracle Linux | 7 | grub2-toolsaarch64 | Advisory build | 1:2.02-0.87.0.8.el7_9.2 | ELSA-2021-0699 |
| Oracle Linux | 7 | grub2-toolsx86_64 | Advisory build | 1:2.02-0.87.0.7.el7 | ELSA-2021-9076 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | grub2 | grub 2.06 (affected) | redhat · cna |
Weaknesses
1- CWE-121
References
4- https://bugzilla.redhat.com/show_bug.cgi?id=1899966
- FEDORA-2021-cab258a413 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZWZ36QK4IKU6MWDWNOOWKPH3WXZBHT2R/
- GLSA-202104-05 https://security.gentoo.org/glsa/202104-05
- https://security.netapp.com/advisory/ntap-20220325-0001/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 11f6feffafbb817a04c132d0a170b57e7cb0567cda55a07e70197d872eac791f
- Ingested
- 23 Sep 2026, 07:49:56 UTC
- Source record
- Official CVE record