Skip to content
OpenAdvisories
High · 7.8 CVE-2025-0689 EUVD-2025-5596GHSA-q7w8-q2f9-vcmh

Grub2: udf: heap based buffer overflow in grub_udf_read_block() may lead to arbitrary code execution

Published Mar 3, 2025 · Updated Nov 5, 2026 · Assigned by redhat

Description

When reading data from disk, the grub's UDF filesystem module utilizes the user controlled data length metadata to allocate its internal buffers. In certain scenarios, while iterating through disk sectors, it assumes the read size from the disk is always smaller than the allocated buffer size which is not guaranteed. A crafted filesystem image may lead to a heap-based buffer overflow resulting in critical data to be corrupted, resulting in the risk of arbitrary code execution by-passing secure boot protections.

Affected products

VendorProductAffectedFixed
— grub2 ≤ 2.12 —
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 Enterprise Linux 9 — —
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
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 —

Advisories 11

References