Heap Overflow Vulnerability in Grub2 Affects ReiserFS Filesystems
CVE-2025-0684

6.4MEDIUM

Key Information:

Vendor

Gnu

Vendor
CVE Published:
3 March 2025

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.

References

CVSS V3.1

Score:
6.4
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-0684 : Heap Overflow Vulnerability in Grub2 Affects ReiserFS Filesystems