# CVE-2025-54771: Grub2: use-after-free in grub\_file\_close()

- Priority: **Routine**
- Reason: Not severe (CVSS 4.9, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-11-18 · Modified: 2026-11-24
- Aliases: UBUNTU-CVE-2025-54771, DEBIAN-CVE-2025-54771
- Record: https://cvemate.com/vulnerability/CVE-2025-54771 · JSON: https://cvemate.com/vulnerability/CVE-2025-54771/json

## Description

```text
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.
```

## Signals

- CVSS: 4.9 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- EPSS: 0.157%, percentile 5.115%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian grub2 (Debian): All versions (No fix recorded) \| \< 2.12-9+deb13u3 \| \< 2.14-1
- ubuntu grub2 (Ubuntu): All versions (No fix recorded)
- ubuntu grub2-signed (Ubuntu): All versions (No fix recorded)
- ubuntu grub2-unsigned (Ubuntu): All versions (No fix recorded)
- gnu grub2: ≤ 2.14

## References

- <https://access.redhat.com/security/cve/CVE-2025-54771>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2413823>
- <https://lists.gnu.org/archive/html/grub-devel/2025-11/msg00155.html>
- <http://www.openwall.com/lists/oss-security/2025/11/18/3>
- <https://ubuntu.com/security/CVE-2025-54771>
- <https://www.cve.org/CVERecord?id=CVE-2025-54771>
- <https://security-tracker.debian.org/tracker/CVE-2025-54771>

---

Data as of 2026-12-05T07:10:43.444Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
