CVE Monitoring DEENSign in

← Back to overview

CVE-2025-0689

7.8 · High

Grub2: udf: heap based buffer overflow in grub_udf_read_block() may lead to arbitrary code execution – 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

ProductVendorSources
Enterprise Linux 10Red HatCVE.org
Enterprise Linux 7Red HatCVE.org
Enterprise Linux 8Red HatCVE.org
Enterprise Linux 9Red HatCVE.org
Grub2GNUNVD
OpenShift Container Platform 4Red HatCVE.org

Normalised: without version constraints and vendor prefix, unified spelling. Affected versions are listed in the original sources.

Description per source

NVD
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.

CVE.org
Grub2: udf: heap based buffer overflow in grub_udf_read_block() may lead to arbitrary code execution – 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.

SourceReferenceScorePublishedUpdatedLink
NVDCVE-2025-06897.8 2025-03-03 16:152026-11-24 08:17Open ↗
CVE.orgCVE-2025-06897.8 2025-03-03 15:172026-11-24 07:24Open ↗