CVE-2020-15707 in Canonical Ubuntu Linux and 16 more products
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 o...
Affects 17 products from 8 vendors. Facts below cite their sources.
Requires local access, high complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 14.04 16.04 18.04 20.04 |
| Debian | Debian Linux | 10.0 |
| Gnu | Grub2 | ≤ 2.04 |
| Microsoft | Windows Rt 8.1 | No version listed by the source |
| Microsoft | Windows Server 2016 | 1903 1909 2004 |
| Microsoft | Windows Server 2019 | No version listed by the source |
| Microsoft | Windows Server 2012 | r2 |
| Microsoft | Windows 8.1 | No version listed by the source |
| Microsoft | Windows 10 | 1607 1709 1803 1809 1903 1909+1 more2004 |
| Microsoft | Windows Server 2016 (Server Core installation) | 1903 1909 2004 |
| Microsoft | Windows Server 2019 (Server Core installation) | No version listed by the source |
| Netapp | Active Iq Unified Manager | ≥ 9.5 |
| Opensuse | Leap | 15.1 15.2 |
| Redhat | Openshift Container Platform | 4.0 |
| Redhat | Enterprise Linux Atomic Host | No version listed by the source |
| Redhat | Enterprise Linux | 7.0 8.0 |
| Suse | Suse Linux Enterprise Server | 11 12 15 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-15707 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-146313-M |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published | 2020-07-29 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
CWE-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-190
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2020. A medium severity vulnerability affects Canonical systems (CVE-2020-15707). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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 CVSS vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H.
Questions
What is CVE-2020-15707?
This vulnerability was disclosed in 2020. A medium severity vulnerability affects Canonical systems (CVE-2020-15707). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2020-15707?
CVE-2020-15707 has CVSS 6.4 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.6%.
Is CVE-2020-15707 actively exploited?
No confirmed active exploitation of CVE-2020-15707 as of 2026-09-25.
How do I remediate CVE-2020-15707?
Priority: MONITOR. Advisory: https://lists.gnu.org/archive/html/grub-devel/2020-07/msg00034.html PSIRT: [email protected]
What systems are affected by CVE-2020-15707?
CVE-2020-15707 affects Canonical Ubuntu Linux; Debian Debian Linux; Gnu Grub2; Microsoft Windows Rt 8.1, Windows Server 2016, Windows Server 2019, Windows Server 2012, Windows 8.1, Windows 10, Windows Server 2016 (Server Core installation) (plus 7 more products across 4 more vendors).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.