CVE-2020-15706 in Canonical Ubuntu Linux and 15 more products
GRUB2 contains a race condition in grub_script_function_create() leading to a use-after-free vulnerability which can be triggered by redefining a function whilst the same function is already executing, leading to arbitrary code execution and secure boot restriction bypass. This issue affects GRUB2 version 2.04 and p...
Affects 16 products from 7 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 |
| 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
GRUB2 contains a race condition in grub_script_function_create() leading to a use-after-free vulnerability which can be triggered by redefining a function whilst the same function is already executing, leading to arbitrary code execution and secure boot restriction bypass. This issue affects GRUB2 version 2.04 and prior versions.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-15706 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-181738-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-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Related attack patterns (CAPEC)
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-15706). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: GRUB2 contains a race condition in grub_script_function_create() leading to a use-after-free vulnerability which can be triggered by redefining a function whilst the same function is already executing, leading to arbitrary code execution and secure boot restriction bypass. This issue affects GRUB2 version 2.04 and prior versions. 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-15706?
This vulnerability was disclosed in 2020. A medium severity vulnerability affects Canonical systems (CVE-2020-15706). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2020-15706?
CVE-2020-15706 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.0%.
Is CVE-2020-15706 actively exploited?
No confirmed active exploitation of CVE-2020-15706 as of 2026-09-25.
How do I remediate CVE-2020-15706?
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-15706?
CVE-2020-15706 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 6 more products across 3 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.