# CVE-2020-15707: GRUB2 contained integer overflows when handling the initrd command, leading to a heap-based buffer overflow.

- Priority: **Routine**
- Reason: Not severe (CVSS 5.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-07-29 · Modified: 2024-09-17
- Aliases: ALPINE-CVE-2020-15707, UBUNTU-CVE-2020-15707, DEBIAN-CVE-2020-15707
- Record: https://cvemate.com/vulnerability/CVE-2020-15707 · JSON: https://cvemate.com/vulnerability/CVE-2020-15707/json

## Description

```text
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.
```

## Signals

- CVSS: 6.4 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.611%, percentile 76.789%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected (first 20 of 21)

- alpine grub (Alpine Linux): \< 2.06-r0
- canonical ubuntu\_linux: 14.04 \| 16.04 \| 18.04 \| 20.04
- debian grub2 (Debian): \< 2.04-9
- ubuntu grub2 (Ubuntu): \< 2.02~beta2-9ubuntu1.20 \| \< 2.02~beta2-36ubuntu3.26 \| \< 2.02-2ubuntu8.16 \| \< 2.04-1ubuntu26.1
- ubuntu grub2-signed (Ubuntu): \< 1.34.22 \| \< 1.66.26 \| \< 1.93.18 \| \< 1.142.3
- ubuntu grub2-unsigned (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 10.0
- gnu grub2: ≤ 2.04
- microsoft windows\_10: na \| 1607 \| 1709 \| 1803 \| 1809 \| 1903 \| 1909 \| 2004
- microsoft windows 8.1: na
- microsoft windows\_rt\_8.1: na
- microsoft windows\_server\_2012: na \| r2
- microsoft windows\_server\_2016: na \| 1903 \| 1909 \| 2004
- microsoft windows\_server\_2019: na
- netapp active\_iq\_unified\_manager: ≥ 9.5 (No fix recorded)
- opensuse leap: 15.1 \| 15.2
- redhat enterprise\_linux: 7.0 \| 8.0
- redhat enterprise\_linux\_atomic\_host: na
- redhat openshift\_container\_platform: 4.0
- suse suse\_linux\_enterprise\_server: 11 \| 12 \| 15

## References (first 20 of 23)

- <https://www.eclypsium.com/2020/07/29/theres-a-hole-in-the-boot/>
- <https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/GRUB2SecureBootBypass>
- <http://ubuntu.com/security/notices/USN-4432-1>
- <https://www.debian.org/security/2020-GRUB-UEFI-SecureBoot>
- <https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/ADV200011>
- <https://access.redhat.com/security/vulnerabilities/grub2bootloader>
- <https://www.suse.com/c/suse-addresses-grub2-secure-boot-issue/>
- <https://www.suse.com/support/kb/doc/?id=000019673>
- <https://www.openwall.com/lists/oss-security/2020/07/29/3>
- <https://lists.gnu.org/archive/html/grub-devel/2020-07/msg00034.html>
- <https://www.debian.org/security/2020/dsa-4735>
- <http://www.openwall.com/lists/oss-security/2020/07/29/3>
- <https://security.netapp.com/advisory/ntap-20200731-0008/>
- <https://usn.ubuntu.com/4432-1/>
- <http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.html>
- <http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.html>
- <https://security.gentoo.org/glsa/202104-05>
- <https://security.alpinelinux.org/vuln/CVE-2020-15707>
- <https://ubuntu.com/security/CVE-2020-15707>
- <https://ubuntu.com/security/notices/USN-4432-1>

---

Data as of 2026-12-05T02:54:57.081Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
