{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-15706","id":"CVE-2020-15706","title":"GRUB2 contains a race condition leading to a use-after-free vulnerability which can be triggered by redefining a function whilst the same function is already executing.","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.","descriptionLong":"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.","published":"2020-07-29T17:45:33.975Z","updated":"2026-06-17T02:57:05.490Z","reserved":"2020-07-14T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"canonical"},"metrics":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"canonical"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"ubuntu.com"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"OSV"},{"version":"2.0","score":4.4,"vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["Ubuntu grub2 in Ubuntu"],"affectedProducts":[{"vendor":"Ubuntu","product":"grub2 in Ubuntu","defaultStatus":null,"versions":[{"lessThan":"2.04-1ubuntu26.1","status":"affected","version":"20.04 LTS","versionType":"custom"},{"lessThan":"2.02-2ubuntu8.16","status":"affected","version":"18.04 LTS","versionType":"custom"},{"lessThan":"2.02~beta2-36ubuntu3.26","status":"affected","version":"16.04 LTS","versionType":"custom"},{"lessThan":"2.02~beta2-9ubuntu1.20","status":"affected","version":"14.04 ESM","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-362","CWE-416"],"aliases":[],"references":[{"url":"https://www.eclypsium.com/2020/07/29/theres-a-hole-in-the-boot/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/GRUB2SecureBootBypass","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"http://ubuntu.com/security/notices/USN-4432-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2020-GRUB-UEFI-SecureBoot","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/ADV200011","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","Vendor Advisory","fix"]},{"url":"https://access.redhat.com/security/vulnerabilities/grub2bootloader","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.suse.com/c/suse-addresses-grub2-secure-boot-issue/","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.suse.com/support/kb/doc/?id=000019673","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2020/07/29/3","tags":["x_refsource_CONFIRM","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.gnu.org/archive/html/grub-devel/2020-07/msg00034.html","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Vendor Advisory","report"]},{"url":"https://www.debian.org/security/2020/dsa-4735","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2020/07/29/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20200731-0008/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/4432-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Broken Link","Mailing List","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Broken Link","Mailing List","Third Party Advisory","advisory"]},{"url":"https://security.gentoo.org/glsa/202104-05","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00991,"epssPercentile":0.63264,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-15706","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15706","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-15706","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-15706","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}