CVE-2025-0677

Updated: 2025-08-20 01:56:18.473948

Description:

A flaw was found in grub2. When performing a symlink lookup, the grub's UFS module checks the inode's data size to allocate the internal buffer to read the file content, however, it fails to check if the symlink data size has overflown. When this occurs, grub_malloc() may be called with a smaller value than needed. When further reading the data from the disk into the buffer, the grub_ufs_lookup_symlink() function will write past the end of the allocated size. An attack can leverage this by crafting a malicious filesystem, and as a result, it will corrupt data stored in the heap, allowing for arbitrary code execution used to by-pass secure boot mechanisms.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x NONE 0.0
CVSS Version 3.x MEDIUM 6.4

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU grub2 2.06 6.4 MEDIUM Ignored 2025-09-10 14:22:08 This flaw is confined to GRUB’s UFS filesystem handler and is only reachable if the system actuall...
CentOS 7 ELS grub2 2.02 6.4 MEDIUM Ignored 2025-03-06 22:04:50 Ignored due to low severity score
Oracle Linux 7 ELS grub2 2.02 6.4 MEDIUM Ignored 2025-03-06 22:04:46 Ignored due to low severity score