Heap Overflow Vulnerability in Grub2 Affects ReiserFS Filesystems
CVE-2025-0684
6.4MEDIUM
What is CVE-2025-0684?
A vulnerability exists in Grub2 when executing symlink lookups on ReiserFS filesystems. This flaw allows user-controlled parameters to influence the internal buffer size calculation, risking integer overflows. A crafted filesystem could exploit this to cause buffer size calculations to overflow, initiating a grub_malloc() call with an insufficient size. Consequently, the grub_reiserfs_read_symlink() function may execute with an invalid length, which can lead to a heap-based out-of-bounds write and corruption of critical internal data. This vulnerability poses significant risks, including potential arbitrary code execution and circumvention of secure boot protections.