CVE-2020-15707
published medium CVSS 3.1 · 5.7GRUB2 contained integer overflows when handling the initrd command, leading to a heap-based buffer overflow.
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | — | grub2 in Ubuntu20.04 LTS to < 2.04-1ubuntu26.1 · 18.04 LTS to < 2.02-2ubuntu8.16 · 16.04 LTS to < 2.02~beta2-36ubuntu3.26 · 14.04 ESM to < 2.02~beta2-9ubuntu1.20 | Affected | Not stated | canonical |
| Alpine Linux | edge | grub | Fixed | 2.06-r0 | Package fix record |
| Debian | buster | grub2 | Advisory build | 2.02+dfsg1-20+deb10u1 | DSA-4735-1 |
| Oracle Linux | 7 | grub2aarch64 | Advisory build | 1:2.02-0.81.0.4.el7 | ELSA-2020-5790 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdatesrc | Advisory build | 12-6.el7_6 | RHSA-2020:3271 |
| 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 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 | grub2x86_64 | Advisory build | 1:2.02-0.81.0.3.el7 | ELSA-2020-5782 |
| Oracle Linux | 7 | grub2-commonx86_64 | Advisory build | 1:2.02-0.81.0.3.el7 | ELSA-2020-5782 |
| Oracle Linux | 7 | grub2-efi-aa64aarch64 | Advisory build | 1:2.02-0.81.0.4.el7 | ELSA-2020-5790 |
| Oracle Linux | 7 | grub2-efi-aa64-cdbootaarch64 | Advisory build | 1:2.02-0.81.0.4.el7 | ELSA-2020-5790 |
| Oracle Linux | 7 | grub2-efi-ia32x86_64 | Advisory build | 1:2.02-0.81.0.3.el7 | ELSA-2020-5782 |
| Oracle Linux | 7 | grub2-efi-ia32-cdbootx86_64 | Advisory build | 1:2.02-0.81.0.3.el7 | ELSA-2020-5782 |
| Oracle Linux | 7 | grub2-efi-ia32-modulesx86_64 | Advisory build | 1:2.02-0.81.0.3.el7 | ELSA-2020-5782 |
| Oracle Linux | 7 | grub2-efi-x64x86_64 | Advisory build | 1:2.02-0.81.0.3.el7 | ELSA-2020-5782 |
| Oracle Linux | 7 | grub2-efi-x64-cdbootx86_64 | Advisory build | 1:2.02-0.81.0.3.el7 | ELSA-2020-5782 |
| Oracle Linux | 7 | grub2-efi-x64-modulesx86_64 | Advisory build | 1:2.02-0.81.0.3.el7 | ELSA-2020-5782 |
| Oracle Linux | 7 | grub2-pcx86_64 | Advisory build | 1:2.02-0.81.0.3.el7 | ELSA-2020-5782 |
| Oracle Linux | 7 | grub2-pc-modulesx86_64 | Advisory build | 1:2.02-0.81.0.3.el7 | ELSA-2020-5782 |
| Oracle Linux | 7 | grub2-toolsaarch64 | Advisory build | 1:2.02-0.81.0.4.el7 | ELSA-2020-5790 |
| Oracle Linux | 7 | grub2-toolsx86_64 | Advisory build | 1:2.02-0.81.0.3.el7 | ELSA-2020-5782 |
| Oracle Linux | 7 | grub2-tools-extraaarch64 | Advisory build | 1:2.02-0.81.0.4.el7 | ELSA-2020-5790 |
| Oracle Linux | 7 | grub2-tools-extrax86_64 | Advisory build | 1:2.02-0.81.0.3.el7 | ELSA-2020-5782 |
| Oracle Linux | 7 | grub2-tools-minimalaarch64 | Advisory build | 1:2.02-0.81.0.4.el7 | ELSA-2020-5790 |
| Oracle Linux | 7 | grub2-tools-minimalx86_64 | Advisory build | 1:2.02-0.81.0.3.el7 | ELSA-2020-5782 |
| Oracle Linux | 8 | grub2-commonaarch64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-commonx86_64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-efi-aa64aarch64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-efi-aa64-cdbootaarch64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-efi-aa64-modulesaarch64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-efi-aa64-modulesx86_64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-efi-ia32x86_64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-efi-ia32-cdbootx86_64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-efi-ia32-modulesaarch64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-efi-ia32-modulesx86_64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-efi-x64x86_64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-efi-x64-cdbootx86_64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-efi-x64-modulesaarch64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-efi-x64-modulesx86_64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-pcx86_64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-pc-modulesaarch64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-pc-modulesx86_64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-toolsaarch64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-toolsx86_64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-tools-efix86_64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-tools-extraaarch64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-tools-extrax86_64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-tools-minimalaarch64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Oracle Linux | 8 | grub2-tools-minimalx86_64 | Advisory build | 1:2.02-82.0.2.el8_2.1 | ELSA-2020-5786 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdatesrc | Advisory build | 12-6.el7_7 | RHSA-2020:3274 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdatesrc | Advisory build | 12-6.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdatesrc | Advisory build | 9-10.el7_4 | RHSA-2020:3275 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdatex86_64 | Advisory build | 12-6.el7_6 | RHSA-2020:3271 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdatex86_64 | Advisory build | 12-6.el7_7 | RHSA-2020:3274 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdatex86_64 | Advisory build | 12-6.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdatex86_64 | Advisory build | 9-10.el7_4 | RHSA-2020:3275 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-debuginfox86_64 | Advisory build | 12-6.el7_6 | RHSA-2020:3271 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-debuginfox86_64 | Advisory build | 12-6.el7_7 | RHSA-2020:3274 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-debuginfox86_64 | Advisory build | 12-6.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-debuginfox86_64 | Advisory build | 9-10.el7_4 | RHSA-2020:3275 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-develx86_64 | Advisory build | 12-6.el7_6 | RHSA-2020:3271 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-develx86_64 | Advisory build | 12-6.el7_7 | RHSA-2020:3274 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-develx86_64 | Advisory build | 12-6.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-develx86_64 | Advisory build | 9-10.el7_4 | RHSA-2020:3275 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-efix86_64 | Advisory build | 12-6.el7_6 | RHSA-2020:3271 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-efix86_64 | Advisory build | 12-6.el7_7 | RHSA-2020:3274 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-efix86_64 | Advisory build | 12-6.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-efix86_64 | Advisory build | 9-10.el7_4 | RHSA-2020:3275 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-libsx86_64 | Advisory build | 12-6.el7_6 | RHSA-2020:3271 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-libsx86_64 | Advisory build | 12-6.el7_7 | RHSA-2020:3274 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-libsx86_64 | Advisory build | 12-6.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux | RHEL-7 | fwupdate-libsx86_64 | Advisory build | 9-10.el7_4 | RHSA-2020:3275 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64 | Advisory build | 1:2.02-0.86.el7_6 | RHSA-2020:3271 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64 | Advisory build | 1:2.02-0.86.el7_7 | RHSA-2020:3274 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64 | Advisory build | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64le | Advisory build | 1:2.02-0.86.el7 | RHSA-2020:3276 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64le | Advisory build | 1:2.02-0.86.el7_4 | RHSA-2020:3275 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64le | Advisory build | 1:2.02-0.86.el7_6 | RHSA-2020:3271 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64le | Advisory build | 1:2.02-0.86.el7_7 | RHSA-2020:3274 |
| Red Hat Enterprise Linux | RHEL-7 | grub2ppc64le | Advisory build | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux | RHEL-7 | grub2src | Advisory build | 1:2.02-0.86.el7 | RHSA-2020:3276 |
| Red Hat Enterprise Linux | RHEL-7 | grub2src | Advisory build | 1:2.02-0.86.el7_4 | RHSA-2020:3275 |
| Red Hat Enterprise Linux | RHEL-7 | grub2src | Advisory build | 1:2.02-0.86.el7_6 | RHSA-2020:3271 |
| Red Hat Enterprise Linux | RHEL-7 | grub2src | Advisory build | 1:2.02-0.86.el7_7 | RHSA-2020:3274 |
| Red Hat Enterprise Linux | RHEL-7 | grub2src | Advisory build | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux | RHEL-7 | grub2x86_64 | Advisory build | 1:2.02-0.86.el7 | RHSA-2020:3276 |
| Red Hat Enterprise Linux | RHEL-7 | grub2x86_64 | Advisory build | 1:2.02-0.86.el7_4 | RHSA-2020:3275 |
| Red Hat Enterprise Linux | RHEL-7 | grub2x86_64 | Advisory build | 1:2.02-0.86.el7_6 | RHSA-2020:3271 |
| Red Hat Enterprise Linux | RHEL-7 | grub2x86_64 | Advisory build | 1:2.02-0.86.el7_7 | RHSA-2020:3274 |
| Red Hat Enterprise Linux | RHEL-7 | grub2x86_64 | Advisory build | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux | RHEL-7 | grub2-commonnoarch | Advisory build | 1:2.02-0.86.el7 | RHSA-2020:3276 |
| Red Hat Enterprise Linux | RHEL-7 | grub2-commonnoarch | Advisory build | 1:2.02-0.86.el7_4 | RHSA-2020:3275 |
| Red Hat Enterprise Linux | RHEL-7 | grub2-commonnoarch | Advisory build | 1:2.02-0.86.el7_6 | RHSA-2020:3271 |
| Red Hat Enterprise Linux | RHEL-7 | grub2-commonnoarch | Advisory build | 1:2.02-0.86.el7_7 | RHSA-2020:3274 |
| Red Hat Enterprise Linux | RHEL-7 | grub2-commonnoarch | Advisory build | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Integer overflows were discovered in the functions grub_cmd_initrd and grub_initrd_init in the efilinux component of GRUB2, as shipped in Debian, Red Hat, and Ubuntu (the functionality is not included in GRUB2 upstream), leading to a heap-based buffer overflow. These could be triggered by an extremely large number of arguments to the initrd command on 32-bit architectures, or a crafted filesystem with very large files on any architecture. An attacker could use this to execute arbitrary code and bypass UEFI Secure Boot restrictions. This issue affects GRUB2 version 2.04 and prior versions.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.7 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Ubuntu | grub2 in Ubuntu | 20.04 LTS to < 2.04-1ubuntu26.1 (affected · custom)18.04 LTS to < 2.02-2ubuntu8.16 (affected · custom)16.04 LTS to < 2.02~beta2-36ubuntu3.26 (affected · custom)14.04 ESM to < 2.02~beta2-9ubuntu1.20 (affected · custom) | canonical · cna |
Weaknesses
1- CWE-362 CWE-362 Race Condition (Concurrent Execution using Shared Resource with Improper Synchronization)
References
17- openSUSE-SU-2020:1168 http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.html
- openSUSE-SU-2020:1169 http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.html
- http://ubuntu.com/security/notices/USN-4432-1
- [oss-security] 20200729 multiple secure boot grub2 and linux kernel vulnerabilities http://www.openwall.com/lists/oss-security/2020/07/29/3
- https://access.redhat.com/security/vulnerabilities/grub2bootloader
- https://lists.gnu.org/archive/html/grub-devel/2020-07/msg00034.html
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/ADV200011
- GLSA-202104-05 https://security.gentoo.org/glsa/202104-05
- https://security.netapp.com/advisory/ntap-20200731-0008/
- USN-4432-1 https://usn.ubuntu.com/4432-1/
- https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/GRUB2SecureBootBypass
- https://www.debian.org/security/2020-GRUB-UEFI-SecureBoot
- DSA-4735 https://www.debian.org/security/2020/dsa-4735
- https://www.eclypsium.com/2020/07/29/theres-a-hole-in-the-boot/
- https://www.openwall.com/lists/oss-security/2020/07/29/3
- https://www.suse.com/c/suse-addresses-grub2-secure-boot-issue/
- https://www.suse.com/support/kb/doc/?id=000019673
Provider assertions
2canonical · cna
GRUB2 contained integer overflows when handling the initrd command, leading to a heap-based buffer overflow.
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 65b5f87b58f3b649bce95002eb7350dad97b2381f5b9c27e38a5d56cae038fe5
- Ingested
- 23 Sep 2026, 07:48:51 UTC
- Source record
- Official CVE record