CVE-2025-54771: Grub2: use-after-free in grub_file_close()

Published Nov 10, 2025
·
Updated

A use-after-free vulnerability has been identified in the GNU GRUB (Grand Unified Bootloader). The flaw occurs because the file-closing process incorrectly retains a memory pointer, leaving an invalid reference to a file system structure. An attacker could exploit this vulnerability to cause grub to crash, leading to a Denial of Service. Possible data integrity or confidentiality compromise is not discarded.

Other sources

Grub2: use-after-free in grubfileclose()

Microsoft

When closing a file the grubfileclose() misses to dereference the filesystem structure leading to possible invalid reference to the file->fs->mod pointer. It may lead to a use-after-free vulnerability.

Red Hat

Affected Software

3 affected components
GNU GRUB
Microsoft cbl2 grub2 2.06-15
Microsoft azl3 grub2 2.06-25

Event History

Nov 10, 2025
Data Sourced
via Red Hat·07:49 PM
DescriptionSeverityAffected Software
Nov 18, 2025
CVE Published
via MITRE·06:20 PM
Data Sourced
via MITRE·06:20 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Nov 21, 2025
Data Sourced
via Microsoft·01:03 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:03 AM
Affected Software
Updated
via Microsoft·01:03 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-54771?

CVE-2025-54771 has been classified with a moderate severity due to the potential for exploitation by attackers.

2

How do I fix CVE-2025-54771?

To fix CVE-2025-54771, you need to apply the latest patches provided by the GNU GRUB maintainers.

3

What does CVE-2025-54771 affect?

CVE-2025-54771 specifically affects the GNU GRUB (Grand Unified Bootloader) software.

4

What kind of attack can exploit CVE-2025-54771?

An attacker could exploit CVE-2025-54771 to potentially execute malicious code due to the use-after-free vulnerability.

5

Is CVE-2025-54771 a common vulnerability?

CVE-2025-54771 is not considered common, but it poses a risk to systems using affected versions of GNU GRUB.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203