CVE-2025-54771

Grub2: use-after-free in grub_file_close()

State
Published
Severity
4.9 Medium
Published
Nov 18, 2025
Updated
Sep 1, 2026
Reserved
Jul 28, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.14.9 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:Lredhat

Weaknesses

  • CWE-825 Expired Pointer Dereference

Affected Products

ProductVersions
grub2GNU
  • 2.14 and earlierAffected
Red Hat Enterprise Linux 10Red Hat
    Red Hat Enterprise Linux 7Red Hat
      Red Hat Enterprise Linux 8Red Hat
        Red Hat Enterprise Linux 9Red Hat
          Red Hat OpenShift Container Platform 4Red Hat
            Red Hat OpenShift Container Platform 4Red Hat

              References

              Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.