{"id":"CVE-2025-54771","summary":"Grub2: use-after-free in grub_file_close()","details":"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.","modified":"2026-07-15T01:49:19.744490701Z","published":"2025-11-18T18:20:40.350Z","related":["SUSE-SU-2025:21062-1","SUSE-SU-2025:21212-1","SUSE-SU-2025:21223-1","SUSE-SU-2025:4143-1","SUSE-SU-2025:4152-1","SUSE-SU-2025:4196-1","SUSE-SU-2025:4197-1","SUSE-SU-2025:4224-1","SUSE-SU-2025:4305-1","SUSE-SU-2026:21621-1","openSUSE-SU-2025:15749-1","openSUSE-SU-2025:20163-1"],"database_specific":{"cwe_ids":["CWE-825"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54771.json","cna_assigner":"redhat"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/11/18/3"},{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://lists.gnu.org/archive/html/grub-devel/2025-11/msg00155.html"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-54771"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54771.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54771"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2413823"},{"type":"PACKAGE","url":"https://git.savannah.gnu.org/git/grub.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://https.git.savannah.gnu.org/git/grub.git/","events":[{"introduced":"0"},{"last_affected":"d38d6a1a9b79427848976f53d474392cd29c2a71"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"2.14"}]}}],"versions":["grub-2.14","grub-2.14-rc1","grub-2.12","grub-2.12-rc1","grub-2.06","grub-2.06-rc1a","grub-2.06-rc1","grub-2.04","grub-2.04-rc1","grub-2.02","2.02","grub-2.02-rc2","2.02-rc2","grub-2.02-rc1","2.02-rc1","grub-2.02-beta3","2.02-beta3","grub-2.02-beta2","grub-2.02-beta1","2.00","1.99","1.98"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54771.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}