Use-after-free in grub - CVE-2025-54771

 

Use-after-free in grub - CVE-2025-54771

Published: November 21, 2025


Vulnerability identifier: #VU118662
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-54771
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
grub

Detailed vulnerability description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to the file-closing process incorrectly retains a memory pointer, leaving an invalid reference to a file system structure within the grub_file_read() function in grub-core/kern/file.c. A local user can trigger a use-after-free error and crash the application. 


How to mitigate CVE-2025-54771

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources