cve.bz

CVE-2020-25647 Out-of-bounds Write

7.6 highEPSS 0.8%Fix available

High (7.6). EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in grub2 in versions prior to 2.06. During USB device initialization, descriptors are read with very little bounds checking and assumes the USB device is providing sane values. If properly exploited, an attacker could trigger memory corruption leading to arbitrary code execution allowing a bypass of the Secure Boot mechanism. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Severity

CVSS 3.1

7.6 high
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-25647 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-25647?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-25647?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-25647 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:grub2before 2.06
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0
redhat:enterprise_linux_server_aus7.2
redhat:enterprise_linux_server_aus7.3
redhat:enterprise_linux_server_aus7.4
redhat:enterprise_linux_server_aus7.6
redhat:enterprise_linux_server_aus7.7
redhat:enterprise_linux_server_aus8.2
redhat:enterprise_linux_server_eus7.6
redhat:enterprise_linux_server_eus7.7
redhat:enterprise_linux_server_eus8.1
redhat:enterprise_linux_server_tus7.4
redhat:enterprise_linux_server_tus7.6
redhat:enterprise_linux_server_tus7.7
redhat:enterprise_linux_server_tus8.2
redhat:enterprise_linux_workstation7.0
fedoraproject:fedora33
fedoraproject:fedora34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10grub22.02+dfsg1-20+deb10u4DSA-4867-1
Debian12, 13, 14grub22.04-16DEBIAN-CVE-2020-25647
Red Hatenterprise_linux:7::client, enterprise_linux:7::workstationgrub2, grub2-pc, grub2-tools and 15 more1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hatenterprise_linux:7::computenodegrub2-debuginfo, grub2-ppc-modules, grub2-ppc64-modules and 4 more1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hatenterprise_linux:7::servergrub2, grub2-pc, grub2-ppc64 and 17 more1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hatenterprise_linux:8::baseosfwupd, fwupd-debuginfo, fwupd-debugsource and 1 more0:1.5.9-1.el8_4RHSA-2021:2566
Red Hatenterprise_linux:8::baseosgrub2, grub2-pc, grub2-tools and 22 more1:2.02-90.el8_3.1RHSA-2021:0696
Red Hatenterprise_linux:8::baseosshim, shim-x64, shim-aa64 and 1 more0:15.4-2.el8_1RHSA-2021:1734
Red Hatenterprise_linux:8::crbshim-unsigned-aarch640:15-7.el8_1RHSA-2021:1734
Red Hatenterprise_linux:8::crbshim-unsigned-x640:15.4-4.el8_1RHSA-2021:1734
Red Hatrhel_aus:7.2::servergrub2, grub2-pc, grub2-tools and 15 more1:2.02-0.86.el7_2.2RHSA-2021:0704
Red Hatrhel_aus:7.3::servergrub2, grub2-pc, grub2-tools and 15 more1:2.02-0.86.el7_3.2RHSA-2021:0703
Red Hatrhel_aus:7.4::server, rhel_tus:7.4::servergrub2, grub2-pc, grub2-tools and 15 more1:2.02-0.86.el7_4.2RHSA-2021:0702
Red Hatrhel_e4s:7.4::servergrub2, grub2-pc, grub2-tools and 16 more1:2.02-0.86.el7_4.2RHSA-2021:0702
14 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 6 moregrub22.02-26.43.1SUSE-SU-2021:0684-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 moregrub22.02-4.69.1SUSE-SU-2021:0682-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moregrub22.02-19.66.1SUSE-SU-2021:0685-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Server Applications 15 SP2grub22.04-9.34.1SUSE-SU-2021:0683-1
SUSELinux Enterprise Server 11 SP4-LTSSgrub22.02-0.66.26.1SUSE-SU-2021:14659-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 moregrub22.02-115.59.1SUSE-SU-2021:0679-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 moregrub22.02-12.47.1SUSE-SU-2021:0681-1
openSUSELeap 15.2grub22.04-lp152.7.22.7openSUSE-SU-2021:0462-1
openSUSETumbleweedgrub22.06-7.1openSUSE-SU-2024:10824-1
AlmaLinux8shim-unsigned-aarch6415-7.el8_1.almaALSA-2021:1734
AlmaLinux8shim-unsigned-x6415.4-4.el8_1.almaALSA-2021:1734
AlmaLinux8shim-x64, shim-aa64, shim-ia3215.4-2.el8_1.almaALSA-2021:1734
Rocky Linux8fwupd0:1.5.9-1.el8_4RLSA-2021:2566
Rocky Linux8shim-unsigned-aarch640:15-7.el8.1.1RLSA-2021:1734
Alpinev3.17, v3.18, v3.19 and 5 moregrub2.06-r0ALPINE-CVE-2020-25647
Azure Linux2grub22.06~rc1-7AZL-6462

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7grub2-1:2.02-0.87.el7_9.2Fixed 2021-03-02RHSA-2021:0699
Red Hat Enterprise Linux 7.2 Advanced Update Supportgrub2-1:2.02-0.86.el7_2.2Fixed 2021-03-02RHSA-2021:0704
Red Hat Enterprise Linux 7.3 Advanced Update Supportgrub2-1:2.02-0.86.el7_3.2Fixed 2021-03-02RHSA-2021:0703
Red Hat Enterprise Linux 7.4 Advanced Update Supportgrub2-1:2.02-0.86.el7_4.2Fixed 2021-03-02RHSA-2021:0702
Red Hat Enterprise Linux 7.4 Telco Extended Update Supportgrub2-1:2.02-0.86.el7_4.2Fixed 2021-03-02RHSA-2021:0702
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutionsgrub2-1:2.02-0.86.el7_4.2Fixed 2021-03-02RHSA-2021:0702
Red Hat Enterprise Linux 7.6 Extended Update Supportgrub2-1:2.02-0.86.el7_6.3Fixed 2021-03-02RHSA-2021:0701
Red Hat Enterprise Linux 7.7 Extended Update Supportgrub2-1:2.02-0.86.el7_7.3Fixed 2021-03-02RHSA-2021:0700
Red Hat Enterprise Linux 8grub2-1:2.02-90.el8_3.1Fixed 2021-03-02RHSA-2021:0696
Red Hat Enterprise Linux 8shim-0:15.4-2.el8_1Fixed 2021-05-18RHSA-2021:1734
Red Hat Enterprise Linux 8shim-unsigned-aarch64-0:15-7.el8_1Fixed 2021-05-18RHSA-2021:1734
Red Hat Enterprise Linux 8shim-unsigned-x64-0:15.4-4.el8_1Fixed 2021-05-18RHSA-2021:1734
Red Hat Enterprise Linux 8fwupd-0:1.5.9-1.el8_4Fixed 2021-06-29RHSA-2021:2566
Red Hat Enterprise Linux 8.1 Extended Update Supportgrub2-1:2.02-87.el8_1.2Fixed 2021-03-02RHSA-2021:0698
Red Hat Enterprise Linux 8.1 Extended Update Supportfwupd-0:1.1.4-4.el8_1Fixed 2021-09-28RHSA-2021:3675
Red Hat Enterprise Linux 8.1 Extended Update Supportshim-0:15.4-2.el8_1Fixed 2021-09-28RHSA-2021:3675
Red Hat Enterprise Linux 7fwupdAffected
Red Hat Enterprise Linux 7fwupdateAffected
Red Hat Enterprise Linux 7shimNot affected
Red Hat Enterprise Linux 8fwupdateWill not fix
7 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-25647.

References

Check your stackJSON