CVE-2025-0689

High

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.

SeverityHigh
CVSS7.8
Exploit probability43. percentile0.5%
ProductGnu Grub2
PublishedMar 3, 2025
First seenMar 3, 2025
Weakness typeCWE-120CWE-120

How to fix

Affected products

ProductAffected versionsFixed in
gnu grub2v ≤ 2.12—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.