CVE-2025-0684

Severity
6.4MEDIUM
EPSS
0.0%
top 92.91%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMar 3
Latest updateMar 11

Description

A flaw was found in grub2. When performing a symlink lookup from a reiserfs filesystem, grub's reiserfs fs module uses user-controlled parameters from the filesystem geometry to determine the internal buffer size, however, it improperly checks for integer overflows. A maliciouly crafted filesystem may lead some of those buffer size calculations to overflow, causing it to perform a grub_malloc() operation with a smaller size than expected. As a result, the grub_reiserfs_read_symlink() will call g

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HExploitability: 0.5 | Impact: 5.9

Affected Packages2 packages

Debiangrub2< 2.12-6+1
NVDgnu/grub22.12

🔴Vulnerability Details

3
GHSA
GHSA-mf4f-2vjv-3rq6: A flaw was found in grub22025-03-03
OSV
CVE-2025-0684: A flaw was found in grub22025-03-03
CVEList
Grub2: reiserfs: integer overflow when handling symlinks may lead to heap based out-of-bounds write when reading data2025-03-03

📋Vendor Advisories

4
Microsoft
Grub2: reiserfs: integer overflow when handling symlinks may lead to heap based out-of-bounds write when reading data2025-03-11
Red Hat
grub2: reiserfs: Integer overflow when handling symlinks may lead to heap based out-of-bounds write when reading data2025-02-18
Debian
CVE-2025-0684: grub2 - A flaw was found in grub2. When performing a symlink lookup from a reiserfs file...2025
Microsoft
Coreutils: heap overflow in split --line-bytes with very long lines2024-02-13