CVE-2025-0689CWE-120

CVE-2025-0689

High · published March 3, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
40.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00480 · 40.5th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2025-03-03T20:15Z
Affected products (1)
ProductVersionsFixed in
gnu/grub2≤ 2.12—
References (3)
EPSS history
Timeline
  • 03 MAR 14:17Z
    Grub2: udf: heap based buffer overflow in grub_udf_read_block() may lead to arbitrary code execution
    cvelistv5