Skip to content
OpenAdvisories

Description

The read command is used to read the keyboard input from the user, while reads it keeps the input length in a 32-bit integer value which is further used to reallocate the line buffer to accept the next character. During this process, with a line big enough it's possible to make this variable to overflow leading to a out-of-bounds write in the heap based buffer. This flaw may be leveraged to corrupt grub's internal critical data and secure boot bypass is not discarded as consequence.

Affected products

VendorProductAffectedFixed
— grub2 ≤ 2.12 —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat OpenShift Container Platform 4 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 grub2 2.12-6 —
Debian 13 grub2 2.12-6 —
Debian 12 grub2 2.06-13+deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 grub2-signed +1 No fix yet —
Ubuntu 26.04 LTS grub2-signed +1 No fix yet —
Ubuntu 25.10 grub2-signed +1 No fix yet —
Ubuntu 24.04 LTS grub2-signed +1 No fix yet —
Ubuntu 22.04 LTS grub2-signed +1 No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS grub2-signed +1 No fix yet —
Ubuntu 18.04 LTS grub2-signed +1 No fix yet —
Ubuntu 16.04 LTS grub2-signed +1 No fix yet —
Ubuntu Pro 14.04 LTS grub2 +1 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 grub2 +15 1:2.06-104.el9_6 RHSA-2025:6990

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 grub2-pc +14 1:2.06-104.el9_6.alma.1 ALSA-2025:6990

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 grub2 1:2.06-104.el9_6 RLSA-2025:6990
ReleasePackageFixed inAdvisory
SLES 15 SP6 grub2 2.12-150600.8.18.2 SUSE-SU-2025:0586-1
SLES 15 SP5 grub2 2.06-150500.29.43.2 SUSE-SU-2025:0587-1
SLES 15 SP4 grub2 2.06-150400.11.55.2 SUSE-SU-2025:0588-1
SLES 15 SP3 grub2 2.04-150300.22.52.3 SUSE-SU-2025:0607-1
SLES 12 SP5 grub2 2.02-181.2 SUSE-SU-2025:0629-1
Show 18 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 grub2 2.06-150500.29.43.2 SUSE-SU-2025:0587-1
SLES for SAP 15 SP4 grub2 2.06-150400.11.55.2 SUSE-SU-2025:0588-1
SLES for SAP 15 SP3 grub2 2.04-150300.22.52.3 SUSE-SU-2025:0607-1
SLE Micro 6.1 grub2 2.12-slfo.1.1_2.1 SUSE-SU-2025:20863-1
SLE Micro 6.0 grub2 2.12~rc1-6.1 SUSE-SU-2025:20511-1
SLE Micro 5.5 grub2 2.06-150500.29.43.2 SUSE-SU-2025:0587-1
SLE Micro 5.4 grub2 2.06-150400.11.55.2 SUSE-SU-2025:0588-1
SLE Micro 5.3 grub2 2.06-150400.11.55.2 SUSE-SU-2025:0588-1
SLE Micro 5.2 grub2 2.04-150300.22.52.3 SUSE-SU-2025:0607-1
SLE Micro 5.1 grub2 2.04-150300.3.11.1 SUSE-SU-2025:01961-1
SLE HPC 15 SP5 grub2 2.06-150500.29.43.2 SUSE-SU-2025:0587-1
SLE HPC 15 SP4 grub2 2.06-150400.11.55.2 SUSE-SU-2025:0588-1
SLE HPC 15 SP3 grub2 2.04-150300.22.52.3 SUSE-SU-2025:0607-1
SUSE Manager Server Module 4.3 grub2 2.06-150400.11.55.2 SUSE-SU-2025:0588-1
SUSE Manager Server 4.3 grub2 2.06-150400.11.55.2 SUSE-SU-2025:0588-1
SUSE Manager Proxy Module 4.3 grub2 2.06-150400.11.55.2 SUSE-SU-2025:0588-1
SUSE Manager Proxy 4.3 grub2 2.06-150400.11.55.2 SUSE-SU-2025:0588-1
SUSE Enterprise Storage 7.1 grub2 2.04-150300.22.52.3 SUSE-SU-2025:0607-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed grub2 2.12-35.1 openSUSE-SU-2025:14822-1
openSUSE Leap 15.6 grub2 2.12-150600.8.18.2 SUSE-SU-2025:0586-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 grub2-pc +16 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 grub2 2.06-25 —
Azure Linux 2 (CBL-Mariner) grub2 2.06-15 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 grub2-pc +12 1:2.06-104.0.1.el9_6 ELSA-2025-6990

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 15

References