Vulnerability · Published May 9, 2025 · Assigned by redhat
CVE-2025-4382Grub2: grub allow access to encrypted device through cli once root device is unlocked via tpm
Medium 5.9
In plain English
A medium-severity missing authentication in grub2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in systems utilizing LUKS-encrypted disks with GRUB configured for TPM-based auto-decryption. When GRUB is set to automatically decrypt disks using keys stored in the TPM, it reads the decryption key into system memory. If an attacker with physical access can corrupt the underlying filesystem superblock, GRUB will fail to locate a valid filesystem and enter rescue mode. At this point, the disk is already decrypted, and the decryption key remains loaded in system memory. This scenario may allow an attacker with physical access to access the unencrypted data without any further authentication, thereby compromising data confidentiality. Furthermore, the ability to force this state through filesystem corruption also presents a data integrity concern.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | grub2 | no fix listed | DEBIAN-CVE-2025-4382 |
| Debian:13 | grub2 | no fix listed | DEBIAN-CVE-2025-4382 |
| Debian:14 | grub2 | 2.14~git20250718.0e36779-2 | DEBIAN-CVE-2025-4382 |
| Ubuntu:22.04:LTS | grub2-signed | no fix listed | UBUNTU-CVE-2025-4382 |
| Ubuntu:24.04:LTS | grub2-signed | no fix listed | UBUNTU-CVE-2025-4382 |
| Ubuntu:25.10 | grub2-signed | no fix listed | UBUNTU-CVE-2025-4382 |
| Ubuntu:26.04:LTS | grub2-signed | no fix listed | UBUNTU-CVE-2025-4382 |
| Ubuntu:26.10 | grub2-signed | no fix listed | UBUNTU-CVE-2025-4382 |
| Ubuntu:22.04:LTS | grub2-unsigned | no fix listed | UBUNTU-CVE-2025-4382 |
| Ubuntu:24.04:LTS | grub2-unsigned | no fix listed | UBUNTU-CVE-2025-4382 |
| Ubuntu:25.10 | grub2-unsigned | no fix listed | UBUNTU-CVE-2025-4382 |
| Ubuntu:26.04:LTS | grub2-unsigned | no fix listed | UBUNTU-CVE-2025-4382 |
| Ubuntu:26.10 | grub2-unsigned | no fix listed | UBUNTU-CVE-2025-4382 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| grub2 | 0 – through 2.12 | |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4 | see references |
Weakness: CWE-306 · Vector: CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- https://access.redhat.com/security/cve/CVE-2025-4382 vdb-entry, x_refsource_REDHAT
- RHBZ#2364416 issue-tracking, x_refsource_REDHAT
- https://gitweb.git.savannah.gnu.org/gitweb/?p=grub.git;a=blobdiff;f=grub-core/kern/rescue_reader.c;h=a71ada8fb7da2eae6ee7135fe234fb1755ca78b0;hp=4259857ba9eea45446bc40ea13c3de4ab1b88ffd;hb=c448f511e74cb7c776b314fcb7943f98d3f22b6d;hpb=4abac0ad5a7914dd3cdfff08aaac06588bf98d80