CVEfocus › CVE database › CVE-2020-15706

CVE-2020-15706GRUB2 contains a race condition leading to a use-after-free vulnerability which can be…

CVSS 6.4 MediumEPSS 1.0% (higher than 61% of CVEs)Published 2020-07-29Updated 2024-09-16Assigner: canonical

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.

CWE-362

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

72Fixed
3Fix pending
14Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04grub2Not affected
vulnerable_code_not_present
Ubuntu 26.04grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 26.04grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 25.10grub2Not affected
vulnerable_code_not_present
Ubuntu 25.10grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 25.10grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 24.04grub2Not affected
vulnerable_code_not_present
Ubuntu 24.04grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 24.04grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 22.04grub2Not affected
vulnerable_code_not_present
Ubuntu 22.04grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 22.04grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 20.04grub2Fixed2.04-1ubuntu26.1UBUNTU-CVE-2020-15706
Ubuntu 20.04grub2-signedFixed1.142.3UBUNTU-CVE-2020-15706
Ubuntu 20.04grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 18.04grub2Fixed2.02-2ubuntu8.16UBUNTU-CVE-2020-15706
Ubuntu 18.04grub2-signedFixed1.93.18UBUNTU-CVE-2020-15706
Ubuntu 18.04grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 16.04grub2Fixed2.02~beta2-36ubuntu3.26UBUNTU-CVE-2020-15706
Ubuntu 16.04grub2-signedFixed1.66.26UBUNTU-CVE-2020-15706
Ubuntu 16.04grub2-unsignedFix pendingUBUNTU-CVE-2020-15706
Ubuntu 14.04grub2Fix pending2.02~beta2-9ubuntu1.20 (Ubuntu Pro)UBUNTU-CVE-2020-15706
Ubuntu 14.04grub2-signedFix pending1.34.22 (Ubuntu Pro)UBUNTU-CVE-2020-15706
Debian 14grub2Fixed2.04-9DEBIAN-CVE-2020-15706
Debian 13grub2Fixed2.04-9DEBIAN-CVE-2020-15706
Debian 12grub2Fixed2.04-9DEBIAN-CVE-2020-15706
Red Hat Enterprise Linux 8fwupdFixed0:1.1.4-7.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2Fixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-commonFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-aa64Fixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-aa64-cdbootFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-aa64-modulesFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-ia32Fixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-ia32-cdbootFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-ia32-modulesFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-x64Fixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-x64-cdbootFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-x64-modulesFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-pcFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-pc-modulesFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-ppc64leFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-ppc64le-modulesFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-toolsFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-tools-efiFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-tools-extraFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-tools-minimalFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8shimFixed0:15-14.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8shim-aa64Fixed0:15-14.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8shim-ia32Fixed0:15-14.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8shim-unsigned-x64Fixed0:15-7.el8RHSA-2020:3216
Red Hat Enterprise Linux 8shim-x64Fixed0:15-14.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 7fwupdateFixed0:12-6.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7fwupdate-develFixed0:12-6.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7fwupdate-efiFixed0:12-6.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7fwupdate-libsFixed0:12-6.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2Fixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-commonFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-efi-aa64-modulesFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-efi-ia32Fixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-efi-ia32-cdbootFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-efi-ia32-modulesFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-efi-x64Fixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-efi-x64-cdbootFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-efi-x64-modulesFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-pcFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-pc-modulesFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-ppc-modulesFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-ppc64Fixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-ppc64-modulesFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-ppc64leFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-ppc64le-modulesFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-toolsFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-tools-extraFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-tools-minimalFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7mokutilFixed0:15-7.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7shimFixed0:15-7.el7_9RHSA-2020:3217
Red Hat Enterprise Linux 7shim-ia32Fixed0:15-7.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7shim-signedFixed0:15-7.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7shim-unsigned-ia32Fixed0:15-7.el7_9RHSA-2020:3217
Red Hat Enterprise Linux 7shim-unsigned-x64Fixed0:15-7.el7_9RHSA-2020:3217
Red Hat Enterprise Linux 7shim-x64Fixed0:15-7.el7_8RHSA-2020:3217
Alpine Linux 3.24grubFixed2.06-r0ALPINE-CVE-2020-15706
Alpine Linux 3.23grubFixed2.06-r0ALPINE-CVE-2020-15706
Alpine Linux 3.22grubFixed2.06-r0ALPINE-CVE-2020-15706
Alpine Linux 3.21grubFixed2.06-r0ALPINE-CVE-2020-15706
Alpine Linux 3.20grubFixed2.06-r0ALPINE-CVE-2020-15706
Alpine Linux 3.19grubFixed2.06-r0ALPINE-CVE-2020-15706
Alpine Linux 3.18grubFixed2.06-r0ALPINE-CVE-2020-15706
Alpine Linux 3.17grubFixed2.06-r0ALPINE-CVE-2020-15706

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.