CVE-2025-54771
JSON

4.9medium

Grub2: use-after-free in grub_file_close()

Severity
4.9medium CVSS:3.1 by redhat
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
grub2up to 2.14CVE List
openshift/ose-rhel-coreos-8Not specifiedCVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List

Classification

CWE-825

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Una vulnerabilidad de uso después de liberación ha sido identificada en GNU GRUB (Grand Unified Bootloader). El fallo ocurre porque el proceso de cierre de archivos retiene incorrectamente un puntero de memoria, dejando una referencia inválida a una estructura del sistema de archivos. Un atacante podría explotar esta vulnerabilidad para causar que grub falle, lo que lleva a una denegación de servicio. No se descarta un posible compromiso de la integridad o confidencialidad de los datos.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-54771 changed 2026-11-24CVE Terms of Use
NVDCVE-2025-54771 changed 2026-11-24Public domain